]> git.baikalelectronics.ru Git - kernel.git/commit
[media] omap3isp: Cancel streaming when a fatal error occurs
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 9 Dec 2013 14:36:51 +0000 (11:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 10:08:48 +0000 (08:08 -0200)
commit90e113dad183878c71098a039ea18f95311a6696
tree0a5909241524c32dd20df1c2d4f87431d7c3fd71
parent2ce5c6c97528e2fe5d5bcc7f23ac9491aa2f55a2
[media] omap3isp: Cancel streaming when a fatal error occurs

When a fatal error that prevents any further video streaming occurs in a
pipeline, all queued buffers must be marked as erroneous and new buffers
must be prevented from being queued. Implement this behaviour with a new
omap3isp_pipeline_cancel_stream() function that can be used by
submodules to cancel streaming.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap3isp/isp.c
drivers/media/platform/omap3isp/isp.h
drivers/media/platform/omap3isp/ispvideo.c
drivers/media/platform/omap3isp/ispvideo.h