ASoC: wm5100: Handle failures to determine accessory polarity
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 17:43:09 +0000 (17:43 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 1 Feb 2012 10:31:12 +0000 (10:31 +0000)
commit2633f736470e803ac9f5372a0d83ba108345a80a
tree5dfebf7eb0899a36f1dbe81b73ff28a4fe14957d
parent24e0c57b8ed2b3a9fe07c07edc1c0062df5be8bf
ASoC: wm5100: Handle failures to determine accessory polarity

If we get an indeterminate impedance with both headset polarities then
give up and report the accessory as a headphone rather than continually
retrying.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm5100.c