aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2012-01-14 16:42:24 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-25 17:24:56 -0800
commitcb86f0a0920b63b179d2fa653c6c851db27d069a (patch)
tree5df474f0a8cfa0d569e59452795ed62e15374971 /sound/pci
parentc8fec258e5d1c35712795641350cc78da4334629 (diff)
downloadkernel_samsung_smdk4412-cb86f0a0920b63b179d2fa653c6c851db27d069a.zip
kernel_samsung_smdk4412-cb86f0a0920b63b179d2fa653c6c851db27d069a.tar.gz
kernel_samsung_smdk4412-cb86f0a0920b63b179d2fa653c6c851db27d069a.tar.bz2
ALSA: virtuoso: Xonar DS: fix polarity of front output
commit f0e48b6bd4e407459715240cd241ddb6b89bdf81 upstream. The two DACs for the front output and the surround/center/LFE/back outputs are wired up out of phase, so when channels are duplicated, their sound can cancel out each other and result in a weaker bass response. To fix this, reverse the polarity of the neutron flow to the front output. Reported-any-tested-by: Daniel Hill <daniel@enemyplanet.geek.nz> Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/oxygen/xonar_wm87x6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/oxygen/xonar_wm87x6.c b/sound/pci/oxygen/xonar_wm87x6.c
index 42d1ab1..915546a 100644
--- a/sound/pci/oxygen/xonar_wm87x6.c
+++ b/sound/pci/oxygen/xonar_wm87x6.c
@@ -177,6 +177,7 @@ static void wm8776_registers_init(struct oxygen *chip)
struct xonar_wm87x6 *data = chip->model_data;
wm8776_write(chip, WM8776_RESET, 0);
+ wm8776_write(chip, WM8776_PHASESWAP, WM8776_PH_MASK);
wm8776_write(chip, WM8776_DACCTRL1, WM8776_DZCEN |
WM8776_PL_LEFT_LEFT | WM8776_PL_RIGHT_RIGHT);
wm8776_write(chip, WM8776_DACMUTE, chip->dac_mute ? WM8776_DMUTE : 0);