git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: snd-atmel-ac97c: set correct size for buffer hardware parameter
[safe/jmp/linux-2.6]
/
sound
/
atmel
/
ac97c.c
diff --git
a/sound/atmel/ac97c.c
b/sound/atmel/ac97c.c
index
4e8f66d
..
c9bc345
100644
(file)
--- a/
sound/atmel/ac97c.c
+++ b/
sound/atmel/ac97c.c
@@
-151,10
+151,10
@@
static struct snd_pcm_hardware atmel_ac97c_hw = {
.rate_max = 48000,
.channels_min = 1,
.channels_max = 2,
- .buffer_bytes_max =
64 * 4096
,
+ .buffer_bytes_max =
2 * 2 * 64 * 2048
,
.period_bytes_min = 4096,
.period_bytes_max = 4096,
- .periods_min =
4
,
+ .periods_min =
6
,
.periods_max = 64,
};