ALSA: oxygen: fix output routing on Xonar DG
authorClemens Ladisch <clemens@ladisch.de>
Mon, 31 Jan 2011 10:47:52 +0000 (11:47 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 31 Jan 2011 11:00:02 +0000 (12:00 +0100)
commitefbeb0718126d277c9d7e902eec8da956acf4bd6
tree5d577ecf2ac6a55759d361856de1e8d05bc1b95a
parentfdbc5d1b32e195b7775e103abd6263370f11af11
ALSA: oxygen: fix output routing on Xonar DG

This card uses separate I2S outputs for the front speakers and
headphones, and reverses the order of the three speaker outputs.
To work around this, add a model-specific callback to adjust the
controller's playback routing.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/oxygen.h
sound/pci/oxygen/oxygen_mixer.c
sound/pci/oxygen/xonar_dg.c