diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-04-16 09:13:36 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 12:00:36 +0200 |
commit | 193e813814775b1b1574515fc6f11e61b29a54f7 (patch) | |
tree | 4c910d3dd308aa13ddf10d8836dad3171f21ab4b /sound/pci/oxygen/oxygen.h | |
parent | 0c0e6daf14183fb1cd0dea054ecf81165abbdc83 (diff) |
[ALSA] oxygen: generalize handling of DAC volume limits
Add fields for the DAC volume limits to the module structure so that
model drivers do not need to install their own control info handlers.
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 7efbf54bc4e..36f2f81fefc 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h @@ -103,6 +103,8 @@ struct oxygen_model { size_t model_data_size; unsigned int pcm_dev_cfg; u8 dac_channels; + u8 dac_volume_min; + u8 dac_volume_max; u8 misc_flags; u8 function_flags; u16 dac_i2s_format; |