ALSA: ASoC: Make WM8510 microphone input a DAPM mixer
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Oct 2008 15:13:50 +0000 (16:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Oct 2008 00:17:37 +0000 (02:17 +0200)
commit2b5f34c5556fc6480bcace016fc35d9d2921c38f
tree45f1a88cf80d6c7d317d3285a22c236673fef4da
parent09af98b08f72471ea53efe26494eef0947a6a10d
ALSA: ASoC: Make WM8510 microphone input a DAPM mixer

The WM8510 microphone input PGA was represented as a DAPM PGA but in
DAPM terms the functionality is that of a mixer since it takes three
switchable inputs and produces one output. Representing it as an input
was causing its controls to be misinterpreted as gain controls and
would cause some required DAPM updates to be missed.

Reported-by: Jukka Hynninen <ext-jukka.hynninen@vaisala.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/wm8510.c