[media] omap3isp: Don't fail streamon when the sensor doesn't implement s_stream
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 13 Aug 2011 16:09:11 +0000 (13:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Sep 2011 18:30:00 +0000 (15:30 -0300)
commitc62e2a19d2b8c884c6f3ab3bb29d6fde2e13d8ac
treecf690857d26790bd6f2c4100921c771f14d1a98f
parent1e393e90ab444dd24d28448e92bab099703fd006
[media] omap3isp: Don't fail streamon when the sensor doesn't implement s_stream

The code handles subdevs with no s_stream operation correctly, but
returns -ENOIOCTLCMD by mistake if the first subdev in the chain has no
s_stream operation. Return 0 in that case.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap3isp/isp.c