]> git.baikalelectronics.ru Git - kernel.git/commit
[media] marvell-cam: Don't signal multiple frame completions in scatter/gather mode
authorJonathan Corbet <corbet@lwn.net>
Fri, 16 Mar 2012 22:14:54 +0000 (19:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:16:29 +0000 (22:16 -0300)
commit9039c749666e45a921b4da4751d0f4c67897a1fe
tree35a5b9ec5853e131252dc4c5c1030bfd86741a74
parente4f473e43f228e553ed7834f3ccfc1bdd78e582a
[media] marvell-cam: Don't signal multiple frame completions in scatter/gather mode

There is only one frame known to the DMA engine in scatter/gather mode, but
it still tells us that any or all of frames 1-3 are done at each completion
interrupt.  Avoid the creation of junk frames by being sure to only
"complete" one on each interrupt.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/marvell-ccic/mcam-core.c