diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-16 10:18:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 15:00:59 +0100 |
commit | a708f07927d016cdd7e29c01933a82e7d1ac8015 (patch) | |
tree | b38e21d34379de80de025c4b7af26cbb5a00d49e /drivers/regulator/core.c | |
parent | ccd2ddc1d6c3ebccff5e93aca4076cbcc4105266 (diff) | |
download | lwn-a708f07927d016cdd7e29c01933a82e7d1ac8015.tar.gz lwn-a708f07927d016cdd7e29c01933a82e7d1ac8015.zip |
ALSA: hda - Treat stereo-to-mono mix properly
commit cc261738add93947d138d2fabad9f4dbed4e5c00 upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/regulator/core.c')
0 files changed, 0 insertions, 0 deletions