]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit945c0fdaf84a76c0540dac5890bbe88c1945ebaa
tree1588124ccee2c9e173ae0c7a3e805ff673fe4db4
parent794ab834c164f877d37f6b864b877e234a04e638
[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