ASoC: tas6424: Fix the error handling of tas6424_i2c_probe()
authorZheyu Ma <zheyuma97@gmail.com>
Tue, 10 May 2022 15:32:50 +0000 (23:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 May 2022 16:40:16 +0000 (17:40 +0100)
commit68cacb5cf5cf04aaa95be1fd76eff728dfddc613
treebac161f71b844cf46d9669d4f7228501da5fb57e
parentef1878fd0cd61f0f3fafdf518bb8f1df742ef760
ASoC: tas6424: Fix the error handling of tas6424_i2c_probe()

After enabling the regulator, The driver should disable the regulator
when failing at probing.

Signed-off-by: Zheyu Ma <zheyuma97@gmail.com>
Link: https://lore.kernel.org/r/20220510153251.1741210-6-zheyuma97@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas6424.c