diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2009-12-23 12:02:41 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-25 08:15:41 -0500 |
commit | 44eba3e82b35ae796826a65d8040001582adc10a (patch) | |
tree | 93f9bcd409638b1685d231dfbd7b0ce2949c20db /sound/isa/sb/sb8_main.c | |
parent | 52e04ea89da57274f0313d2bd73ba02f686cfdeb (diff) |
ALSA: jazz16: refine dma and irq selection
Narrow the dma and irq selection after the DOS driver.
Add ALSA configuration description as well.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/sb/sb8_main.c')
-rw-r--r-- | sound/isa/sb/sb8_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/isa/sb/sb8_main.c b/sound/isa/sb/sb8_main.c index 3222aed5fac6..7d84c9f34dc9 100644 --- a/sound/isa/sb/sb8_main.c +++ b/sound/isa/sb/sb8_main.c | |||
@@ -510,7 +510,8 @@ static int snd_sb8_open(struct snd_pcm_substream *substream) | |||
510 | } | 510 | } |
511 | switch (chip->hardware) { | 511 | switch (chip->hardware) { |
512 | case SB_HW_JAZZ16: | 512 | case SB_HW_JAZZ16: |
513 | runtime->hw.formats |= SNDRV_PCM_FMTBIT_S16_LE; | 513 | if (chip->dma16 == 5 || chip->dma16 == 7) |
514 | runtime->hw.formats |= SNDRV_PCM_FMTBIT_S16_LE; | ||
514 | runtime->hw.rates |= SNDRV_PCM_RATE_8000_48000; | 515 | runtime->hw.rates |= SNDRV_PCM_RATE_8000_48000; |
515 | runtime->hw.rate_min = 4000; | 516 | runtime->hw.rate_min = 4000; |
516 | runtime->hw.rate_max = 50000; | 517 | runtime->hw.rate_max = 50000; |