]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd09d57c9baa9ab09a41d73ed1881989ac81a919
tree9b7110e3cdbf02d253358e39bc2da289ce864593
parentc890b791844889dbafb9a6fab7a7ed5dc144fe9f
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