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

From: Mark Brown
Date: Wed Mar 02 2022 - 08:44:40 EST


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.

Attachment: signature.asc
Description: PGP signature