diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-01-31 11:47:52 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-01-31 12:00:02 +0100 |
commit | efbeb0718126d277c9d7e902eec8da956acf4bd6 (patch) | |
tree | 5d577ecf2ac6a55759d361856de1e8d05bc1b95a /sound/pci/oxygen/oxygen.h | |
parent | fdbc5d1b32e195b7775e103abd6263370f11af11 (diff) | |
download | kernel_goldelico_gta04-efbeb0718126d277c9d7e902eec8da956acf4bd6.zip kernel_goldelico_gta04-efbeb0718126d277c9d7e902eec8da956acf4bd6.tar.gz kernel_goldelico_gta04-efbeb0718126d277c9d7e902eec8da956acf4bd6.tar.bz2 |
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>
Diffstat (limited to 'sound/pci/oxygen/oxygen.h')
-rw-r--r-- | sound/pci/oxygen/oxygen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h index c2ae63d..f53897a 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h @@ -92,6 +92,8 @@ struct oxygen_model { void (*update_dac_volume)(struct oxygen *chip); void (*update_dac_mute)(struct oxygen *chip); void (*update_center_lfe_mix)(struct oxygen *chip, bool mixed); + unsigned int (*adjust_dac_routing)(struct oxygen *chip, + unsigned int play_routing); void (*gpio_changed)(struct oxygen *chip); void (*uart_input)(struct oxygen *chip); void (*ac97_switch)(struct oxygen *chip, |