[media] v4l: omap4iss: Signal fatal errors to the vb2 queue
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 3 Jun 2014 22:25:06 +0000 (19:25 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 19:22:41 +0000 (16:22 -0300)
commitcb766937e36fc651ad8e8f61e0a8be323140ef75
tree1588124ccee2c9e173ae0c7a3e805ff673fe4db4
parent1153be56a10576abc3dd2a89aee59debb4dcc2b6
[media] v4l: omap4iss: Signal fatal errors to the vb2 queue

When a fatal error occurs in the pipeline signal it to the vb2 queue
with a call to vb2_queue_error(). The queue will then take care to
return -EIO when preparing buffers, remove the driver-specific code that
now duplicates that check.

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