aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-01-31 11:47:52 +0100
committerTakashi Iwai <tiwai@suse.de>2011-01-31 12:00:02 +0100
commitefbeb0718126d277c9d7e902eec8da956acf4bd6 (patch)
tree5d577ecf2ac6a55759d361856de1e8d05bc1b95a /sound/pci/oxygen/oxygen.h
parentfdbc5d1b32e195b7775e103abd6263370f11af11 (diff)
downloadkernel_samsung_smdk4412-efbeb0718126d277c9d7e902eec8da956acf4bd6.zip
kernel_samsung_smdk4412-efbeb0718126d277c9d7e902eec8da956acf4bd6.tar.gz
kernel_samsung_smdk4412-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.h2
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,