[media] v4l: omap4iss: Cancel streaming when a fatal error occurs
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 5 Nov 2013 15:32:05 +0000 (12:32 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 11 Dec 2013 11:05:32 +0000 (09:05 -0200)
commit112da08512bb0c58c169ec8bda0166f627250a2c
tree15888850e3cce700c4f4670bffdf6dfd54d1fda2
parent216814fb0167673c6417b5db83ade84e58031e2c
[media] v4l: omap4iss: 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
omap4iss_pipeline_cancel_stream() function that can be used by
submodules to cancel streaming.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/omap4iss/iss.c
drivers/staging/media/omap4iss/iss.h
drivers/staging/media/omap4iss/iss_resizer.c
drivers/staging/media/omap4iss/iss_video.c
drivers/staging/media/omap4iss/iss_video.h