-stable review patch. If anyone has any objections, please let us know.
------------------
From: David Miller <[email protected]>
This matches what the ISA cs4231 driver uses.
Tested by Georg Chini.
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
---
commit f9af1d9deaaffe6803dec693748498886915d766
sound/sparc/cs4231.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.19.1.orig/sound/sparc/cs4231.c
+++ linux-2.6.19.1/sound/sparc/cs4231.c
@@ -1268,7 +1268,7 @@ static struct snd_pcm_hardware snd_cs423
.channels_min = 1,
.channels_max = 2,
.buffer_bytes_max = (32*1024),
- .period_bytes_min = 256,
+ .period_bytes_min = 64,
.period_bytes_max = (32*1024),
.periods_min = 1,
.periods_max = 1024,
@@ -1288,7 +1288,7 @@ static struct snd_pcm_hardware snd_cs423
.channels_min = 1,
.channels_max = 2,
.buffer_bytes_max = (32*1024),
- .period_bytes_min = 256,
+ .period_bytes_min = 64,
.period_bytes_max = (32*1024),
.periods_min = 1,
.periods_max = 1024,
--
>Subject: [patch 43/50] SOUND: Sparc CS4231: Fix IRQ return value and
> initialization.
>
>--- linux-2.6.19.1.orig/sound/sparc/cs4231.c
>+++ linux-2.6.19.1/sound/sparc/cs4231.c
>@@ -1268,7 +1268,7 @@ static struct snd_pcm_hardware snd_cs423
> .channels_min = 1,
> .channels_max = 2,
> .buffer_bytes_max = (32*1024),
>- .period_bytes_min = 4096,
>+ .period_bytes_min = 256,
> .period_bytes_max = (32*1024),
> .periods_min = 1,
> .periods_max = 1024,
>Subject: [patch 44/50] SOUND: Sparc CS4231: Use 64 for period_bytes_min
>--- linux-2.6.19.1.orig/sound/sparc/cs4231.c
>+++ linux-2.6.19.1/sound/sparc/cs4231.c
>@@ -1268,7 +1268,7 @@ static struct snd_pcm_hardware snd_cs423
> .channels_min = 1,
> .channels_max = 2,
> .buffer_bytes_max = (32*1024),
>- .period_bytes_min = 256,
>+ .period_bytes_min = 64,
> .period_bytes_max = (32*1024),
> .periods_min = 1,
> .periods_max = 1024,
Can't 44 be folded into 43?
-`J'
--