ASoC: sgtl5000: add ADC mute control
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>
Fri, 19 Jul 2019 10:05:34 +0000 (10:05 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2019 12:26:26 +0000 (13:26 +0100)
commit694b14554d75f2a1ae111202e71860d58b434a21
treef80411fc6347ba02f30a175af38c915cca9d83a7
parentcadee10c983145c16d6c75af88f6a943b22ebeb2
ASoC: sgtl5000: add ADC mute control

This control mute/unmute the ADC input of SGTL5000
using its CHIP_ANA_CTRL register.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20190719100524.23300-5-oleksandr.suvorov@toradex.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sgtl5000.c