summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8955.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-03-16 10:18:08 +0100
committerTakashi Iwai <tiwai@suse.de>2015-03-16 14:44:03 +0100
commitcc261738add93947d138d2fabad9f4dbed4e5c00 (patch)
treedce1925148a516e3a2b015a91b2ce2663206c32e /sound/soc/codecs/wm8955.c
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda (diff)
ALSA: hda - Treat stereo-to-mono mix properly
The commit [ef403edb7558: ALSA: hda - Don't access stereo amps for mono channel widgets] fixed the handling of mono widgets in general, but it still misses an exceptional case: namely, a mono mixer widget taking a single stereo input. In this case, it has stereo volumes although it's a mono widget, and thus we have to take care of both left and right input channels, as stated in HD-audio spec ("7.1.3 Widget Interconnection Rules"). This patch covers this missing piece by adding proper checks of stereo amps in both the generic parser and the proc output codes. Reported-by: Raymond Yau <superquad.vortex2@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/wm8955.c')
0 files changed, 0 insertions, 0 deletions