[alsa-devel] [PATCH 11/11] wss_lib: fix opti93x capture formats limitations
From: Krzysztof Helt krzysztof.h1@wp.pl
Limit opti93x cards capture formats to only linear ones.
Signed-off-by: Krzysztof Helt krzysztof.h1@wp.pl ---
No changes since the last version.
diff -urp linux-ref/sound/isa/wss/wss_lib.c linux-2.6.26/sound/isa/wss/wss_lib.c --- linux-ref/sound/isa/wss/wss_lib.c 2008-07-31 19:30:47.000000000 +0200 +++ linux-2.6.26/sound/isa/wss/wss_lib.c 2008-07-31 19:30:56.000000000 +0200 @@ -1495,8 +1495,10 @@ static int snd_wss_capture_open(struct s
/* hardware limitation of cheap chips */ if (chip->hardware == WSS_HW_CS4235 || - chip->hardware == WSS_HW_CS4239) - runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE; + chip->hardware == WSS_HW_CS4239 || + chip->hardware == WSS_HW_OPTI93X) + runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | + SNDRV_PCM_FMTBIT_S16_LE;
snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.buffer_bytes_max); snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.period_bytes_max);
---------------------------------------------------------------------- Tanie rozmowy! Sprawdz >>> http://link.interia.pl/f1e91
At Thu, 31 Jul 2008 21:11:46 +0200, Krzysztof Helt wrote:
From: Krzysztof Helt krzysztof.h1@wp.pl
Limit opti93x cards capture formats to only linear ones.
Signed-off-by: Krzysztof Helt krzysztof.h1@wp.pl
Thanks, now applied all patches.
Takashi
On 31-07-08 21:11, Krzysztof Helt wrote:
From: Krzysztof Helt krzysztof.h1@wp.pl
Limit opti93x cards capture formats to only linear ones.
Signed-off-by: Krzysztof Helt krzysztof.h1@wp.pl
No changes since the last version.
Acked-by: Rene Herman rene.herman@gmail.com
Rene.
participants (3)
-
Krzysztof Helt
-
Rene Herman
-
Takashi Iwai