diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-16 12:18:08 +0300 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-03-28 16:50:33 +0300 |
commit | 79eb59a64b923ca914cefe05ad149957514c8c89 (patch) | |
tree | 5f9e3fd2e891b10dd64cdb73a5919f290e07f60c /drivers/mtd | |
parent | 6fdbb0ba74c5b4e4e7b54aee9078c6887d49709d (diff) | |
download | linux-79eb59a64b923ca914cefe05ad149957514c8c89.tar.xz |
ALSA: hda - Treat stereo-to-mono mix properly
[ Upstream commit cc261738add93947d138d2fabad9f4dbed4e5c00 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions