]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l56: Fix the error handling of cs42l56_i2c_probe()
authorZheyu Ma <zheyuma97@gmail.com>
Wed, 11 May 2022 01:55:14 +0000 (09:55 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 May 2022 16:42:12 +0000 (17:42 +0100)
commit95dfe07571b3bcc7ed5aef0248f1683e307aee11
tree216128ee044fd16454cb22d6a79557b7cefd932a
parenta66b1ebbc246ae49b3b8c6642ac3e2c2cc579c5d
ASoC: cs42l56: 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>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220511015514.1777923-1-zheyuma97@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l56.c