diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-16 10:18:08 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-16 14:44:03 +0100 |
commit | cc261738add93947d138d2fabad9f4dbed4e5c00 (patch) | |
tree | dce1925148a516e3a2b015a91b2ce2663206c32e /mm | |
parent | Linux 4.0-rc4 (diff) | |
download | linux-cc261738add93947d138d2fabad9f4dbed4e5c00.tar.xz linux-cc261738add93947d138d2fabad9f4dbed4e5c00.zip |
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 'mm')
0 files changed, 0 insertions, 0 deletions