]> git.baikalelectronics.ru Git - kernel.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)
commitce41780f3a33f68632818d838dff49373a475379
treeca9f927d83e293f7254afd9bf53d41cc910d95cc
parentab8ac718534c64d186307f1fa41590f10b6a949b
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