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>
This commit is contained in:
Bard Liao 2018-07-03 13:07:25 +08:00 • committed by Mark Brown
commit 2daf3d9962
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0