]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs35l36: Fix the error handling of cs35l36_i2c_probe()
authorZheyu Ma <zheyuma97@gmail.com>
Tue, 10 May 2022 15:32:47 +0000 (23:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 May 2022 16:40:13 +0000 (17:40 +0100)
commitcf7d6af728861a2b5160b31a933ceec679499ce9
tree20db18b8e750b93f6ea68bb5d52ba068e4c3a422
parent1c373f061ecd5185c48bdd23bca8160385b0d3aa
ASoC: cs35l36: Fix the error handling of cs35l36_i2c_probe()

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

Signed-off-by: Zheyu Ma <zheyuma97@gmail.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220510153251.1741210-3-zheyuma97@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l36.c