diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-23 19:59:18 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-23 19:59:18 -0200 |
commit | ef4c26c70d9f69bb8a7ce769de5135983f8cf02b (patch) | |
tree | a3cb051e95730f25389ceede8c0b3af8ce4d5f38 /linux/drivers/media/video/vp27smpx.c | |
parent | 6bf79234893ea220ff70dd6b649e67a495abd9a3 (diff) | |
download | mediapointer-dvb-s2-ef4c26c70d9f69bb8a7ce769de5135983f8cf02b.tar.gz mediapointer-dvb-s2-ef4c26c70d9f69bb8a7ce769de5135983f8cf02b.tar.bz2 |
saa7134-alsa: fix period handling
From: Heikki Lindholm <holindho@cs.helsinki.fi>
The period handling in saa7134-alsa is broken in two ways. First, the
minimum number of periods of two does not work, because the dma is setup
two periods ahead in the irq handler. Fix the minimum to four periods.
Second, the code assumes that the number of periods is divisible by two,
which isn't always the case on ALSA. Fix by adding a constraint.
Signed-off-by: Heikki Lindholm <holindho@cs.helsinki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/vp27smpx.c')
0 files changed, 0 insertions, 0 deletions