summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-i2c.c
diff options
context:
space:
mode:
authorHeikki Lindholm <holindho@cs.helsinki.fi>2007-11-23 18:59:18 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-12-11 18:08:14 -0200
commit174eb8e8cb1ec97904ddeaae54366a03789162ef (patch)
tree800a304bcac7e6b403d7f9f606fde9ebfa7accd3 /drivers/media/video/saa7134/saa7134-i2c.c
parent78f3b0b672c79df9ffa55399a7d6fc4b173e9b4b (diff)
downloadtalos-op-linux-174eb8e8cb1ec97904ddeaae54366a03789162ef.tar.gz
talos-op-linux-174eb8e8cb1ec97904ddeaae54366a03789162ef.zip
V4L/DVB (6666): saa7134-alsa: fix period handling
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 'drivers/media/video/saa7134/saa7134-i2c.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud