ALSA: ca0106 - Fix the max capture buffer size
commit2ce0460627548ae6e546fdb225517ca84bb9d0d6
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Jul 2009 13:42:51 +0000 (20 15:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 21:39:26 +0000 (30 14:39 -0700)
tree398adf464db3819684d15bbea7f7fc51525f9466
parent6b5600f321f51cd409d05f475128d40fc7241a2d
ALSA: ca0106 - Fix the max capture buffer size

commit 34fdeb2d07102e07ecafe79dec170bd6733f2e56 upstream.

The capture buffer size with 64kB seems broken with CA0106.
At least, either the update timing or the DMA position is wrong,
and this screws up pulseaudio badly.

This patch restricts the max buffer size less than that to make life
a bit easier.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/ca0106/ca0106_main.c