OSDN Git Service

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)
commitc1ce4ba5021a9730c00bab6f8122702deb69d37e
tree82761eb82b7806ef30260d818d9a9b176a80eb62
parent83d1b65d4cbe6fb0bbdacc18c1f4ad0450275d8f
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