ASoC: tlv320adcx140: Register a callback to disable the regulator_disable
authorZheyu Ma <zheyuma97@gmail.com>
Tue, 10 May 2022 05:30:31 +0000 (13:30 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 10 May 2022 11:31:32 +0000 (12:31 +0100)
commite1c9f68aa23a8bf98e956e92e61293ef51bd6282
tree66b5a8fd0e1ec11db6980bcb91e4a2e29b3b2f27
parent5118da41c7594ccf4e64003bf325ffcefb3da6e3
ASoC: tlv320adcx140: Register a callback to disable the regulator_disable

The driver should register a callback that will deal with the disabling
when it fails to probe.

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