ASoC: max9867: Fix power management
authorLadislav Michl <ladis@linux-mips.org>
Tue, 4 Dec 2018 18:19:51 +0000 (19:19 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 7 Dec 2018 12:20:40 +0000 (12:20 +0000)
commit29f58ff06795a923407d011d4721eaf3e8d39acc
tree98a008a92de60cf9c5c96b2091cddf70381466b0
parent8efc1afd7e0570d9bb37f5127f0742304a8ad2fc
ASoC: max9867: Fix power management

Implement set_bias_level to drive shutdown bit, so device is
put to sleep when unused.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c
sound/soc/codecs/max9867.h