ASoC: wm8996: Handle failures to determine accessory polarity
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 18:00:42 +0000 (18:00 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 18:40:55 +0000 (18:40 +0000)
commitd7b3557077ee1620fbc290e5577bbb7d65063ab1
tree00e036690d821bad988111df11296a47c9e84603
parent62c1c40127e351de7fbc1d8c782f7508f8314aab
ASoC: wm8996: 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/wm8996.c