ASoC: wm5100: Make sure we switch to button reporting mode
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Jan 2012 15:19:20 +0000 (15:19 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Jan 2012 15:35:40 +0000 (15:35 +0000)
commit9fb83526a898f14adbd3f6f52fa7126f528f15ac
tree2f798da96ce9cf8b57fc262285d92caf9b05a0a9
parentc83f1d7e71625801c72f4013291194e09b6f0a6e
ASoC: wm5100: Make sure we switch to button reporting mode

When we have identified an accessory make sure we've flagged that we've
done so in order to make sure we always report buttons and don't continue
to polarity flip.

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