[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ab41f16-c672-4352-a296-0ff1765a8656@kernel.org>
Date: Sun, 30 Mar 2025 12:01:37 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>, lee@...nel.org,
alim.akhtar@...sung.com, s.nawrocki@...sung.com, beomho.seo@...sung.com,
ideal.song@...sung.com
Cc: linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 1/4] mfd: exynos-lpass: Fix an error handling path in
exynos_lpass_probe()
On 29/03/2025 08:45, Christophe JAILLET wrote:
> If an error occurs after a successful regmap_init_mmio(), regmap_exit()
> should be called as already done in the .remove() function.
>
> Switch to devm_regmap_init_mmio() to avoid the leak and simplify the
> .remove() function.
>
> Fixes: c695abab2429 ("mfd: Add Samsung Exynos Low Power Audio Subsystem driver")
c414df12bdf7 should be fixed instead, I think.
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> The .remove function was added in commit c414df12bdf7 ("mfd: exynos-lpass:
> Add missing remove() function")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists