summaryrefslogtreecommitdiff
path: root/sound/soc/stm
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2019-04-04 17:27:20 +0100
committerMark Brown <broonie@kernel.org>2019-04-05 09:23:13 +0700
commit47c4cc08cb5b34e93ab337b924c5ede77ca3c936 (patch)
tree082a263e9518af14944f3a7574adba024ee6d1ea /sound/soc/stm
parent86a7b6ffd90095d81d9fa0d8b48955b7c83b2e2f (diff)
ASoC: cs35l35: Disable regulators on driver removal
The chips main power supplies VA and VP are enabled during probe but then never disabled, this will cause warnings from the regulator framework on driver removal. Fix this by adding a remove callback and disabling the supplies, whilst doing so follow best practice and put the chip back into reset as well. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/stm')
0 files changed, 0 insertions, 0 deletions