ASoC: Initial WM8996 headphone impedance measurement support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 4 Sep 2011 14:50:31 +0000 (07:50 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Sep 2011 17:30:59 +0000 (18:30 +0100)
commit0b684cc14a791accdd6d97cb68242ab5009ece3e
tree91c8f001d644f4d0cb12a9e46b154bd90c756d60
parent8259df12fd3f3429648411bfff37dfbb34a2d9b2
ASoC: Initial WM8996 headphone impedance measurement support

The WM8996 can measure the impedance of accessories connected to the
headphone output. Implement initial support for this, measuring the
left channel impedance when an accessory is detected and using this
to distinguish between a line load and a headphone load.

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