diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-25 02:37:49 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:14 -0500 |
commit | 976cd62700ae378df330ec82112da3d17e33a0fe (patch) | |
tree | 22d31425c0940b8d7105c4914fd944fcc3c2a8d9 /sound/pci/oxygen/virtuoso.c | |
parent | 09189ac793d7fef7d0f058815043e3d4bf7097c0 (diff) |
[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>
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 7b240c778759..665115d23627 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c | |||
@@ -310,6 +310,7 @@ static const struct oxygen_model model_xonar = { | |||
310 | .set_adc_params = set_cs5381_params, | 310 | .set_adc_params = set_cs5381_params, |
311 | .update_dac_volume = update_pcm1796_volume, | 311 | .update_dac_volume = update_pcm1796_volume, |
312 | .update_dac_mute = update_pcm1796_mute, | 312 | .update_dac_mute = update_pcm1796_mute, |
313 | .dac_channels = 8, | ||
313 | .used_channels = OXYGEN_CHANNEL_B | | 314 | .used_channels = OXYGEN_CHANNEL_B | |
314 | OXYGEN_CHANNEL_C | | 315 | OXYGEN_CHANNEL_C | |
315 | OXYGEN_CHANNEL_SPDIF | | 316 | OXYGEN_CHANNEL_SPDIF | |