[ALSA] oxygen: make the number of analog output configurable
Add a field to struct oxygen_model to allow model drivers for cards with less than eight output channels. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:

committed by
Jaroslav Kysela

orang tua
09189ac793
melakukan
976cd62700
@@ -85,6 +85,7 @@ struct oxygen_model {
|
||||
void (*update_dac_volume)(struct oxygen *chip);
|
||||
void (*update_dac_mute)(struct oxygen *chip);
|
||||
size_t model_data_size;
|
||||
u8 dac_channels;
|
||||
u8 used_channels;
|
||||
u8 function_flags;
|
||||
u16 dac_i2s_format;
|
||||
|
Reference in New Issue
Block a user