]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-fimc: Reinitialize the pipeline properly after VIDIOC_STREAMOFF
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 16 Mar 2012 14:47:51 +0000 (11:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Apr 2012 18:22:47 +0000 (15:22 -0300)
commit4c2e96639c1e88cc7729d2facd201f232d8a85ad
treed0e6e1f0e2d0113d8b2f68bf8d1fbb181ccd0ffa
parent5759460d41d30fb76c60a076624097b9cfec6e8e
[media] s5p-fimc: Reinitialize the pipeline properly after VIDIOC_STREAMOFF

This patch prevents blocking on DQBUF at a video capture node in some
conditions, after STREAOMOFF/STREAMON sequence. The ST_CAPT_SUSPEND
flag should not be set during normal stream off, otherwise the
capture engine is not properly enabled at stream on.

Reported-by: Bernard Debbasch <b.debbasch@ssi.samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-capture.c