diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-04-16 03:15:45 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:37 -0400 |
commit | 4972a177fed34036498aee555335f84a70219bc1 (patch) | |
tree | 343c9beb57407db5111d88de2c9c97498bc91777 /sound/pci/oxygen/oxygen.h | |
parent | e983532e446ac7fabe829d9e3aeff8e26b0a277d (diff) |
[ALSA] oxygen: generalize DAC volume TLV handling
Add a pointer for DAC volume TLV data to the model structure so that the
model driver do not need to manually assign it in their control filter.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h index 36f2f81fefc5..a71c6e059260 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h | |||
@@ -100,6 +100,7 @@ struct oxygen_model { | |||
100 | void (*gpio_changed)(struct oxygen *chip); | 100 | void (*gpio_changed)(struct oxygen *chip); |
101 | void (*ac97_switch)(struct oxygen *chip, | 101 | void (*ac97_switch)(struct oxygen *chip, |
102 | unsigned int reg, unsigned int mute); | 102 | unsigned int reg, unsigned int mute); |
103 | const unsigned int *dac_tlv; | ||
103 | size_t model_data_size; | 104 | size_t model_data_size; |
104 | unsigned int pcm_dev_cfg; | 105 | unsigned int pcm_dev_cfg; |
105 | u8 dac_channels; | 106 | u8 dac_channels; |