]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: Disable regulators if probe fails
authorLucas Tanure <tanureal@opensource.cirrus.com>
Sat, 6 Mar 2021 18:55:45 +0000 (18:55 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:14:23 +0000 (13:14 +0000)
commit95bc4181dad6ec025ff45f63554e1ddae416e9aa
tree10b2322855d5780b05d4aa9304edfc89fd1bb7dc
parent122830f4bba0fe34e655ec08df7e6e73840907a0
ASoC: cs42l42: Disable regulators if probe fails

In case of cs42l42_i2c_probe() fail, the regulators were left enabled.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210306185553.62053-8-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c