ASoC: Use a lower detection rate when monitoring headphones on WM8915
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 1 Jun 2011 19:16:40 +0000 (20:16 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 2 Jun 2011 17:57:08 +0000 (18:57 +0100)
commite6a9be0bb018466896632969ba4b496d1a7caea9
tree66fe69338d334030bd70e2634929318951fd5f7b
parent1e025a3692014e7a29a0b0b01de5cdc2b6ade3cf
ASoC: Use a lower detection rate when monitoring headphones on WM8915

We only need to increase the detection rate to maximum if we're monitoring
for button presses as the response times needed for user interaction there
are much lower.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/codecs/wm8915.c