]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l46: Fix the error handling of cs42l56_i2c_probe()
authorZheyu Ma <zheyuma97@gmail.com>
Tue, 10 May 2022 15:32:46 +0000 (23:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 May 2022 16:40:18 +0000 (17:40 +0100)
commit0eb0686482ccbdd0a01e7e3ceb779da971bf7d6a
tree82761eb82b7806ef30260d818d9a9b176a80eb62
parentb11231ee46d17985284de208764a96f35017e9c0
ASoC: cs42l46: Fix the error handling of cs42l56_i2c_probe()

The driver should goto label 'err_enable' when failing at regmap_read().

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