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 17:00:37 +0000 (10:00 -0700)
commit0253e78cc196ba320a093401a12ab0e5f244a3e9
treef15cec165f5bdb96035f6e6380b05d37e2603091
parentd9026c7b01909e2f77b1af1fd47e7ffc872ab0cd
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