ASoC: wm9712: Fix microphone source selection
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Aug 2012 21:36:04 +0000 (22:36 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Sep 2012 02:37:09 +0000 (03:37 +0100)
commit6f541ea83e4de5acecae039acebac538125871d9
tree1e122045730bae5526aade4cc11e7d1e33ead574
parent9379931f204703f9ccdf33b9273f3e755d86f8e6
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: Ben Hutchings <ben@decadent.org.uk>
sound/soc/codecs/wm9712.c