]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: adau7118: don't disable regulators on device unbind
authorNuno Sá <nuno.sa@analog.com>
Fri, 24 Feb 2023 10:45:51 +0000 (11:45 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Feb 2023 13:12:50 +0000 (13:12 +0000)
commitb5bfa7277ee7d944421e0ef193586c6e34d7492c
tree98f82052e66942494791e079eae5467e9f04e4b9
parentb361d5d2464a88184f6e17a6462719ba79180b1a
ASoC: adau7118: don't disable regulators on device unbind

The regulators are supposed to be controlled through the
set_bias_level() component callback. Moreover, the regulators are not
enabled during probe and so, this would lead to a regulator unbalanced
use count.

Fixes: ca514c0f12b02 ("ASOC: Add ADAU7118 8 Channel PDM-to-I2S/TDM Converter driver")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230224104551.1139981-1-nuno.sa@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau7118.c