]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: add button detection mode control
authorBard Liao <bardliao@realtek.com>
Tue, 3 Jul 2018 05:07:25 +0000 (13:07 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 3 Jul 2018 15:00:21 +0000 (16:00 +0100)
commit463b842fabeecc92ab279f6d12756128ac77e88c
tree6bb262a36b8848a3caf2752ff4c4761b18677a59
parent074dc0d952f9db7661995f74af8a35ab74792a29
ASoC: rt5682: add button detection mode control

We are currently using power saving mode for button detection.
However, it will impact the headset recording performance.
This patch will switch button detection to normal mode in capture
and switch to power saving mode in the end of capture.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c