[media] omap3isp: Don't accept pipelines with no video source as valid
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 31 Jul 2011 15:12:02 +0000 (17:12 +0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Sep 2011 12:49:27 +0000 (09:49 -0300)
commit00542edf071e249ccb541ffb2d2b9034e2533968
tree4fcde884ee297fa8fa1768ee28bd7927bb7ce610
parentb796fb6ed032b0ccdb769b3b3bce5fb2b186a8f8
[media] omap3isp: Don't accept pipelines with no video source as valid

Make sure the pipeline has a valid video source (either a subdev with no
sink pad, or a non-subdev entity) at stream-on time and return -EPIPE if
no video source can be found.

Reported-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap3isp/ispvideo.c