Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp715570rwb; Tue, 27 Sep 2022 03:48:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5BEEfB2L1OIXLoy18PGroT/sRJ76RoJ7jwV2q9lNDfbi7+Gy4IlVl4AuYxcpqkxQ5nJGyg X-Received: by 2002:a17:906:4fd1:b0:787:434f:d755 with SMTP id i17-20020a1709064fd100b00787434fd755mr759934ejw.356.1664275715858; Tue, 27 Sep 2022 03:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664275715; cv=none; d=google.com; s=arc-20160816; b=vzEo1a7DjXmSmvJU7BkyYtYLCM+qxWHudNZqqzt4u3V7sjQL7DWOrzlG45kaxREthQ 2Q7ybq9kswBviduSvvghPOin/Wi6YxbVjiiEK5U5EE9QhFESjxc7xbHN+kEYqXStV01u tt07A5IZsshlgsUG1kkkGqynT0T3sv7mkw3UPw+RrBCnzlbTa/9SztK8to03Z1y2RwsH R2pZUSgAQFValwnAOV683KwKbz4eYTlqMPQxvYgqTjttEoCkq+OYIqx8r9k2P+CkyXE1 Bzj4O/yAlknVYzmtaiueG3cOQ4JWw++X6L4iOcp2AgNKfYmynV+JObryuKoRBZf+ofh8 52Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=unbsUSVwv0VnA+0vyQI7DtI0dpi0uRaX0uYFFrIaUnI=; b=o8p5AH9dCjYOeMGr19xeVrdPz60iVSpzEhI8Fgy3trL+l3SQsGK8CDFqMQ8IdEayNL L9KswEW7uAX7D/LQkvQRMLKjDsdFCX9uoMTcQn1hy71y4cj86uXtcqWkE0EbHXfS/qx2 DZIeYw4JL2ULWz4oQ9jzOnVx9qEUdo90qQRsp9rwvfKx5lF7eWkl+hpjURqV/wgMyI4c pfA8hF1yyGvn0+EzgX+BAbHgU+aaLYfMCFVThDgiPqB1aas44XLRpCeyHH4q+deEfzn+ 1md5i9E2qsMCz4IT43Uu/UCheko7I7ZlnEN5Ct5crstaObObHH55URGEVEg5he5UTcHf /FYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CDtX/a6m"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020a056402351100b004571506aefcsi1449699edd.78.2022.09.27.03.48.10; Tue, 27 Sep 2022 03:48:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CDtX/a6m"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231639AbiI0KeW (ORCPT + 99 others); Tue, 27 Sep 2022 06:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231626AbiI0KeR (ORCPT ); Tue, 27 Sep 2022 06:34:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 421A8EB12F; Tue, 27 Sep 2022 03:34:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D55D6B81ACA; Tue, 27 Sep 2022 10:34:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87A89C433D6; Tue, 27 Sep 2022 10:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664274854; bh=lJjHanQhAo4gyBUD5O9aZXDqaj4cVWoKZzJdtxw5DuA=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=CDtX/a6mIQ2vC0NJAzaCEB64k7Ktn/nkcVfB5d+zql6b1tDS+bYsfbMxxZXV9NyiI d0uaVEVow6ihw3hFu9M04xwn/rFN5+qs6+fNzlRx56SpSKmOIch0NdtgS87kRlvJeI qJKIzpBRzY7Zw9c/3QkBNUtnc1dt+m+1hpzG5/tgEA3rledkpx06XAm4/PiN2+ZaeW 2MKQgMlbBczKEfUD9/IGt4P/wWD7kzyO8ZUoSbyBFTE8Zy2y1OiHp8hSEVky+ek4Ja K7ZNP6/Ux5369gTEX41zR7cqyN/YTRD2QUQst17JwYgFOGZn3+nOt5NYWQHlcEkW9x QfaWssp5X1fsw== From: Mark Brown To: Support Opensource , Christophe JAILLET , Adam Thomson , Takashi Iwai , Liam Girdwood , Jaroslav Kysela Cc: kernel-janitors@vger.kernel.org, alsa-devel@alsa-project.org, Dan Carpenter , linux-kernel@vger.kernel.org In-Reply-To: References: Subject: Re: [PATCH] ASoC: da7219: Fix an error handling path in da7219_register_dai_clks() Message-Id: <166427485225.60697.13131714629966036302.b4-ty@kernel.org> Date: Tue, 27 Sep 2022 11:34:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.10.0-dev-fc921 X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Sep 2022 21:44:57 +0200, Christophe JAILLET wrote: > If clk_hw_register() fails, the corresponding clk should not be > unregistered. > > To handle errors from loops, clean up partial iterations before doing the > goto. So add a clk_hw_unregister(). > Then use a while (--i >= 0) loop in the unwind section. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: da7219: Fix an error handling path in da7219_register_dai_clks() commit: abb4e4349afe7eecdb0499582f1c777031e3a7c8 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark