From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796153545; b=BVEH8xBG4vY1ox9juHhMpmCOVVDhcHd5ff0RkPmonfSMqJXKpyPqYFQBS7BZZKVNuGnu piea2kKKgwnvvbRmcuQ+90Qm5EVQbKFHsu8UhVUVXexGP++h/aBQZMevHP1Sv9hrDQ+aG OPIEO22/usT59cuf2ekxokS3xVfmwBglIQ1lg2hmBWNwf5GacgIwCixAOjknKz9SthIrP fKUcuzATdiZvRwTS1ylXot1vrtFD8bXrDLUXkiTpHfkXp4Z4KDTnvLPqG1izokFoybiRH dtaIUVkAjYJdfxwMry7L1bHIQesLpZTB+ok3ZhimSYhGjekTrKQolXvWwPR92eFBAOQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796153545; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=k3fuk4/kRyC+Czoywb7ScoFxBIlmuevri1PYxm8JY34=; b=YMv5etvk89P6s7UtY3Qo6vWjscec8zA11S3UvXlqJLV2Fqu8dkwMKQUCcxjkyyv403p8 wK9U+x3yPTZcCvhKHR04Fd294T8KyJgOEe+mz6MGAFF0iaaGgrjyyu/xIe+Y6/T1moml0 Vp1+IIYt2MvsvlOLtGzGhTewwzgakLXj5A+Dx/0wbI9k2DXLYHdWIcIilRVfYOxUZjZ6z upK9ays4R4Vlvzms1sT/VwoLqVgQcFmluAhjHGKzYURnalWPB/0URwX7hnYJCgFP75vxb t+a+fEpA6Aj4LF2HXiNN3DDypW/ksljv9WAxFvuvi2lhN9hZlDfsVh9s9iZRwuC+1vQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HGTyjwcx; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A6CC606A31A; Tue, 1 Dec 2026 19:32:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HGTyjwcx Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C8D91F00897; Tue, 1 Dec 2026 19:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796153545; bh=k3fuk4/kRyC+Czoywb7ScoFxBIlmuevri1PYxm8JY34=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=HGTyjwcxYAfwGx6UOeiI5P20Dhj7y3jknhrlO7ypLmnfAwfcpcDzEr6fNcpeNZ580 eEslRzgfcLu1NvbOGeJ1PI5hBd/RqKaMQtCjtNxIXKGrYiErULngKQqts/oKeLyYhZ Du3PglcSZOdUNTf7me29qar5ZxKezzUcS3X3jjCNfVC9oX0j01CJFUvtLo+bwPKvlD /9BYCdtqIEIgLVpIuZURL8yuEqlgm+v5/68xrfgNbRCDMi7CfYuMdsLQqPN2Mziqi0 nMh4Hbaa3gEWW5RMG+Gcm0A0H7Kd9+cxz7Bc0SjNv6ldRC6e2O3naX5Aw/Lx94vmUs /QeNmN+O6ueAw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 4/6] ASoC: mxs-saif: Use devm helpers to register mclk Reply-To: sashiko-reviews@lists.linux.dev To: "Arina Kharlamova" Cc: linux-sound@vger.kernel.org, imx@lists.linux.dev, Frank.Li@kernel.org In-Reply-To: <20261201-s2p-asoc-misc-v1-4-eda774714731@mbzuai.ac.ae> References: <20261201-s2p-asoc-misc-v1-0-eda774714731@mbzuai.ac.ae> <20261201-s2p-asoc-misc-v1-4-eda774714731@mbzuai.ac.ae> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 19:32:24 +0000 X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [High] ASoC: mxs-saif: missing Signed-off-by trailer above --- separator -- commit 5021fc1fda76b542f9e9ddbe9928d5a2500e70f7 Author: Arina Kharlamova > ASoC: mxs-saif: Use devm helpers to register mclk > > mxs_saif_mclk_init() registers the "mxs_saif_mclk" divider and an OF > clock provider for it, and nothing unregisters them. The divider uses > saif->base + SAIF_CTRL as its register and saif->base is mapped with > devm_platform_ioremap_resource(). When probe fails later, for example > with -EPROBE_DEFER from the DMA PCM registration, or the driver is > unbound, the clock stays registered and points into a mapping that is > gone. > > On the next probe clk_register_divider() returns -EEXIST, which > mxs_saif_mclk_init() treats as success, so the clock keeps the old > register address. > > Register the divider with devm_clk_hw_register_divider() and the > provider with devm_of_clk_add_hw_provider(). Both are then removed > before the register mapping when the driver is unbound or probe fails. > > Fixes: 7c9e6150f2e7 ("ASoC: mxs: register saif mclk to clock framework") [Severity: High] The Signed-off-by trailer was placed below the first "---" separator line in the patch, so git am strips it from the commit message. It should be moved above the "---" separator right after the Fixes trailer. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201-s2p-asoc-m= isc-v1-0-eda774714731@mbzuai.ac.ae?part=3D4