]> git.dujemihanovic.xyz Git - linux.git/commit
ASoC: tas571x: Fix the error handling of tas571x_i2c_probe()
authorZheyu Ma <zheyuma97@gmail.com>
Tue, 10 May 2022 15:32:49 +0000 (23:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 May 2022 16:40:15 +0000 (17:40 +0100)
commitef1878fd0cd61f0f3fafdf518bb8f1df742ef760
treeca9f927d83e293f7254afd9bf53d41cc910d95cc
parent7883c193d7ae1ccc20ee4c06d2a1fea40074e454
ASoC: tas571x: Fix the error handling of tas571x_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-5-zheyuma97@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas571x.c