Re: [PATCH 1/2] pinctrl: cs42l43: Fix leaked pm reference on error path

From: Linus Walleij

Date: Wed May 27 2026 - 08:30:26 EST


On Fri, May 8, 2026 at 4:35 PM Charles Keepax
<ckeepax@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Returning directly if the regmap_update_bits() fails causes a pm runtime
> reference to be leaked, let things run to the end of the function
> instead.
>
> Fixes: e52c741907fb ("pinctrl: cirrus: cs42l43: use new GPIO line value setter callbacks")
> Signed-off-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij