[PATCH] ASoC: fsl: Fix error handling in pcm030_fabric_probe

Mark Brown broonie at kernel.org
Wed Mar 2 14:44:27 CET 2022


On Tue, Mar 01, 2022 at 07:53:48AM +0000, Miaoqian Lin wrote:
> This will call twice platform_device_put()
> if both platform_device_add() and snd_soc_register_card() fails.
> Fix it by using goto label to avoid duplicating the error code logic.

This doesn't apply against current code, please check and resend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220302/5bfad9ba/attachment.sig>


More information about the Alsa-devel mailing list