ALSA: oxygen: Xonar DG(X): fix Stereo Upmixing regression
authorClemens Ladisch <clemens@ladisch.de>
Tue, 18 Mar 2014 08:31:18 +0000 (09:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Mar 2014 08:51:58 +0000 (09:51 +0100)
commit305564413c99514a14a49215790d96b8d71a6295
treec382cbd554e87223960f04bc95f504e66e14d4e2
parent5e3a227a64a1c9add0a4091989ef490342f716cf
ALSA: oxygen: Xonar DG(X): fix Stereo Upmixing regression

The code introduced in commit 1f91ecc14dee ("ALSA: oxygen: modify
adjust_dg_dac_routing function") accidentally disregarded the old value
of the playback routing register, so it broke the "Stereo Upmixing"
mixer control.

The unmuted parts of the channel routing are the same for all settings
of the output destination, so it suffices to revert that part of the
patch.

Fixes: 1f91ecc14dee ('ALSA: oxygen: modify adjust_dg_dac_routing function')
Tested-by: Roman Volkov <v1ron@mail.ru>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/xonar_dg.c