ASoC: wm9712: Fix microphone source selection
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Aug 2012 21:36:04 +0000 (22:36 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Aug 2012 21:42:14 +0000 (22:42 +0100)
commitccf795847a38235ee4a56a24129ce75147d6ba8f
tree9b7110e3cdbf02d253358e39bc2da289ce864593
parent939d5044b117302cabdd30833685d9f214e9bff6
ASoC: wm9712: Fix microphone source selection

Currently the microphone input source is not selectable as while there is
a DAPM widget it's not connected to anything so it won't be properly
instantiated. Add something more correct for the input structure to get
things going, even though it's not hooked into the rest of the routing
map and so won't actually achieve anything except allowing the relevant
register bits to be written.

Reported-by: Christop Fritz <chf.fritz@googlemail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm9712.c