ASoC: codecs: pcm186x: Fix energysense SLEEP bit
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Tue, 19 Feb 2019 16:29:28 +0000 (16:29 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Feb 2019 17:08:58 +0000 (17:08 +0000)
commit05bd7fcdd06b19a10f069af1bea3ad9abac038d7
treee5aabdafaad3dc4f77a261eb732c3997d85f505c
parentfcf4daabf08079e6d09958a2992e7446ef8d0438
ASoC: codecs: pcm186x: Fix energysense SLEEP bit

The ADCs are sleeping when the SLEEP bit is set and running when it's
cleared, so the bit should be inverted.
Tested on pcm1863.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/pcm186x.c