diff options
-rw-r--r-- | sound/isa/wss/wss_lib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/isa/wss/wss_lib.c b/sound/isa/wss/wss_lib.c index a5602f515f49..f2df77bd1308 100644 --- a/sound/isa/wss/wss_lib.c +++ b/sound/isa/wss/wss_lib.c | |||
@@ -1495,8 +1495,10 @@ static int snd_wss_capture_open(struct snd_pcm_substream *substream) | |||
1495 | 1495 | ||
1496 | /* hardware limitation of cheap chips */ | 1496 | /* hardware limitation of cheap chips */ |
1497 | if (chip->hardware == WSS_HW_CS4235 || | 1497 | if (chip->hardware == WSS_HW_CS4235 || |
1498 | chip->hardware == WSS_HW_CS4239) | 1498 | chip->hardware == WSS_HW_CS4239 || |
1499 | runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE; | 1499 | chip->hardware == WSS_HW_OPTI93X) |
1500 | runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | | ||
1501 | SNDRV_PCM_FMTBIT_S16_LE; | ||
1500 | 1502 | ||
1501 | snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.buffer_bytes_max); | 1503 | snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.buffer_bytes_max); |
1502 | snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.period_bytes_max); | 1504 | snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.period_bytes_max); |