ASoC: wm9712: Fix microphone source selection
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Aug 2012 21:36:04 +0000 (22:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 16:59:23 +0000 (09:59 -0700)
commitc1281938088283ea813f9692b0fc692ab8decd83
treee3b75706661a45759a5e58e57b68889e3970ee22
parentaa680a4f0ac6f08f0a26dd84d5217b0468648ac9
ASoC: wm9712: Fix microphone source selection

commit ccf795847a38235ee4a56a24129ce75147d6ba8f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wm9712.c