]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72ea8039981594ee0283e04a3c0e71e0e93e789a
treebac161f71b844cf46d9669d4f7228501da5fb57e
parentce41780f3a33f68632818d838dff49373a475379
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