[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230829084657.GO103419@ediswmail.ad.cirrus.com>
Date: Tue, 29 Aug 2023 08:46:57 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
CC: James Schulman <james.schulman@...rus.com>,
David Rhodes <david.rhodes@...rus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, <alsa-devel@...a-project.org>,
<patches@...nsource.cirrus.com>, <linux-kernel@...r.kernel.org>,
<dan.carpenter@...aro.org>, <kernel-janitors@...r.kernel.org>,
<error27@...il.com>
Subject: Re: [PATCH next] ASoC: cs42l43: Fix missing error code in
cs42l43_codec_probe()
On Tue, Aug 29, 2023 at 12:36:35AM -0700, Harshit Mogalapalli wrote:
> When clk_get_optional() fails, the error handling code does a 'goto
> err_pm' with ret = 0, which is resturning success on a failure path.
>
> Fix this by assigning the PTR_ERR(priv->mclk) to ret variable.
>
> Fixes: fc918cbe874e ("ASoC: cs42l43: Add support for the cs42l43")
> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists