]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: fsl_viu: fix bug in streamon routine
authorAnatolij Gustschin <agust@denx.de>
Tue, 12 Apr 2011 11:15:58 +0000 (08:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:29:59 +0000 (09:29 -0300)
commit1d3b67df02d3f9175f60a540b9cfe89a2ee8bfe9
treee6197cb097326a94a4b516bb1a1bd0a2d798ec7c
parentd74cf93d68e6297e1d53f70eb8c51bca743622ee
[media] media: fsl_viu: fix bug in streamon routine

Currently video capturing using streaming I/O method
doesn't work if capturing to overlay buffer took place
before.

When enabling the stream we have to check the overlay
enable driver flag and reset it so that the interrupt
handler won't execute the overlay interrupt path after
enabling DMA in streamon routine. Otherwise the capture
interrupt won't be handled correctly causing non working
VIDIOC_DQBUF ioctl.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/fsl-viu.c