diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-28 08:33:44 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 17:30:17 +0100 |
commit | 911b499af45e879ccf4b8db234278a7136d056c9 (patch) | |
tree | 8708445a77b89d5bd170044b7faf4c1514c8561f /sound/pci/oxygen/oxygen.h | |
parent | 236c4920ea825acbffa7bbba24c182ec6a9a8245 (diff) | |
download | talos-obmc-linux-911b499af45e879ccf4b8db234278a7136d056c9.tar.gz talos-obmc-linux-911b499af45e879ccf4b8db234278a7136d056c9.zip |
[ALSA] oxygen: make line-in exclusive only on Xonar
Move the line input switching code to the Virtuoso driver because only
the Xonar cards bypass the analog mixer for line input.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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 9ec9e6bab7d7..8fc9e7ca1182 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h @@ -84,6 +84,8 @@ struct oxygen_model { struct snd_pcm_hw_params *params); void (*update_dac_volume)(struct oxygen *chip); void (*update_dac_mute)(struct oxygen *chip); + void (*ac97_switch_hook)(struct oxygen *chip, + unsigned int reg, int mute); size_t model_data_size; u8 dac_channels; u8 used_channels; |