V4L/DVB (7671): pxa-camera: fix DMA sg-list coalescing for more than 2 buffers
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 22 Apr 2008 13:40:23 +0000 (10:40 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:45 +0000 (14:09 -0300)
commit5aa2110f3f33feb4a0c67a4996dc400dc594bc1d
tree7c7806b8edec85e7afdaea696b7106fa0d683c6f
parente7c506881973d0c762d660005be54c4095219c59
V4L/DVB (7671): pxa-camera: fix DMA sg-list coalescing for more than 2 buffers

Currently the pxa-camera driver has a bug, visible when the user requests
more than 2 video buffers. When the third buffer is queued, it is not
appended to the DMA-descriptor list of the second buffer, but is again
appended to the first buffer. Fix it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pxa_camera.c