]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit297c520ebe5a434daad7c6dd5edf2131e1fb28f7
tree5dfebf7eb0899a36f1dbe81b73ff28a4fe14957d
parent10ab4b7f8cc446b7a3ed1dac58b7295c4ae49b05
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