public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH next] ASoC: codecs: va-macro: Clean up on error path in probe()
@ 2025-10-18  6:25 Dan Carpenter
  2025-10-19  4:08 ` Dmitry Baryshkov
  2025-10-21 14:10 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Carpenter @ 2025-10-18  6:25 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: Srinivas Kandagatla, Liam Girdwood, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, Jingyi Wang, Prasad Kumpatla, linux-sound,
	linux-arm-msm, linux-kernel, kernel-janitors

Do some clean up before returning the error code.

Fixes: 281c97376cfc ("ASoC: codecs: va-macro: Rework version checking")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
 sound/soc/codecs/lpass-va-macro.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/lpass-va-macro.c b/sound/soc/codecs/lpass-va-macro.c
index eb4981255f2b..77a372dfb117 100644
--- a/sound/soc/codecs/lpass-va-macro.c
+++ b/sound/soc/codecs/lpass-va-macro.c
@@ -1632,7 +1632,7 @@ static int va_macro_probe(struct platform_device *pdev)
 		/* read version from register */
 		ret = va_macro_set_lpass_codec_version(va);
 		if (ret)
-			return ret;
+			goto err_clkout;
 	}
 
 	if (va->has_swr_master) {
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH next] ASoC: codecs: va-macro: Clean up on error path in probe()
  2025-10-18  6:25 [PATCH next] ASoC: codecs: va-macro: Clean up on error path in probe() Dan Carpenter
@ 2025-10-19  4:08 ` Dmitry Baryshkov
  2025-10-21 14:10 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2025-10-19  4:08 UTC (permalink / raw)
  To: Dan Carpenter
  Cc: Konrad Dybcio, Srinivas Kandagatla, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai, Jingyi Wang, Prasad Kumpatla,
	linux-sound, linux-arm-msm, linux-kernel, kernel-janitors

On Sat, Oct 18, 2025 at 09:25:07AM +0300, Dan Carpenter wrote:
> Do some clean up before returning the error code.
> 
> Fixes: 281c97376cfc ("ASoC: codecs: va-macro: Rework version checking")
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> ---
>  sound/soc/codecs/lpass-va-macro.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH next] ASoC: codecs: va-macro: Clean up on error path in probe()
  2025-10-18  6:25 [PATCH next] ASoC: codecs: va-macro: Clean up on error path in probe() Dan Carpenter
  2025-10-19  4:08 ` Dmitry Baryshkov
@ 2025-10-21 14:10 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2025-10-21 14:10 UTC (permalink / raw)
  To: Konrad Dybcio, Dan Carpenter
  Cc: Srinivas Kandagatla, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
	Jingyi Wang, Prasad Kumpatla, linux-sound, linux-arm-msm,
	linux-kernel, kernel-janitors

On Sat, 18 Oct 2025 09:25:07 +0300, Dan Carpenter wrote:
> Do some clean up before returning the error code.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: codecs: va-macro: Clean up on error path in probe()
      commit: 7e1906643a7374529af74b013bba35e4fa4e6ffc

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-21 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-18  6:25 [PATCH next] ASoC: codecs: va-macro: Clean up on error path in probe() Dan Carpenter
2025-10-19  4:08 ` Dmitry Baryshkov
2025-10-21 14:10 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox