diff options
author | Sven Eckelmann <sven.eckelmann@gmx.de> | 2009-10-01 20:06:39 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-10-02 07:45:55 +0200 |
commit | 3b04691c2b1661c7e64cd4222d7175b5bf87163f (patch) | |
tree | e936e05e4c9a1f13db9e4b102c0f89a454f9aae2 /sound/pci/ctxfi/ctatc.c | |
parent | a656cbf07f1106db941af337ac0051347fb778a5 (diff) | |
download | linux-3b04691c2b1661c7e64cd4222d7175b5bf87163f.tar.gz linux-3b04691c2b1661c7e64cd4222d7175b5bf87163f.tar.bz2 linux-3b04691c2b1661c7e64cd4222d7175b5bf87163f.zip |
ALSA: ctxfi: Swapped SURROUND-SIDE mute
On Soundblaster X-FI Titenium with emu20k2 the SIDE and SURROUND mute
functions are swapped.
It was checked with 'speaker-test -c 8 -s 3' and (un)mute surround or
'speaker-test -c 8 -s 7' and (un)mute side. The volume seems not
to be affected and works as expected.
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctatc.c')
-rw-r--r-- | sound/pci/ctxfi/ctatc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c index b1b3a644f738..75454648d50c 100644 --- a/sound/pci/ctxfi/ctatc.c +++ b/sound/pci/ctxfi/ctatc.c @@ -1037,7 +1037,7 @@ static int atc_line_front_unmute(struct ct_atc *atc, unsigned char state) static int atc_line_surround_unmute(struct ct_atc *atc, unsigned char state) { - return atc_daio_unmute(atc, state, LINEO4); + return atc_daio_unmute(atc, state, LINEO2); } static int atc_line_clfe_unmute(struct ct_atc *atc, unsigned char state) @@ -1047,7 +1047,7 @@ static int atc_line_clfe_unmute(struct ct_atc *atc, unsigned char state) static int atc_line_rear_unmute(struct ct_atc *atc, unsigned char state) { - return atc_daio_unmute(atc, state, LINEO2); + return atc_daio_unmute(atc, state, LINEO4); } static int atc_line_in_unmute(struct ct_atc *atc, unsigned char state) |