diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-16 02:30:38 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:00 -0500 |
commit | e85e09250ab552fab6925bcde7c77746101b2d40 (patch) | |
tree | 4ca130f7c846aaa8069d7d71a91ceabf2f5af22b /sound/pci/oxygen/virtuoso.c | |
parent | 84aa6b7ba746e6f637444d0e14a9b75c0b49a612 (diff) |
[ALSA] oxygen: make all DMA channels configurable
Allow the card models to specify whether each of the hardware DMA
channels is used.
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 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 247d5e1ccb68..0574fa19dca6 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c | |||
@@ -224,7 +224,10 @@ static const struct oxygen_model model_xonar = { | |||
224 | .update_dac_volume = update_pcm1796_volume, | 224 | .update_dac_volume = update_pcm1796_volume, |
225 | .update_dac_mute = update_pcm1796_mute, | 225 | .update_dac_mute = update_pcm1796_mute, |
226 | .dac_tlv = pcm1796_db_scale, | 226 | .dac_tlv = pcm1796_db_scale, |
227 | .record_from_dma_b = 1, | 227 | .used_channels = OXYGEN_CHANNEL_B | |
228 | OXYGEN_CHANNEL_C | | ||
229 | OXYGEN_CHANNEL_SPDIF | | ||
230 | OXYGEN_CHANNEL_MULTICH, | ||
228 | .cd_in_from_video_in = 1, | 231 | .cd_in_from_video_in = 1, |
229 | .dac_minimum_volume = 15, | 232 | .dac_minimum_volume = 15, |
230 | .function_flags = OXYGEN_FUNCTION_ENABLE_SPI_4_5, | 233 | .function_flags = OXYGEN_FUNCTION_ENABLE_SPI_4_5, |