upstream: [media] v4l: omap3isp: Don't check for missing get_fmt op on remote subdev
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 4 Nov 2013 09:52:10 +0000 (06:52 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:52 +0000 (14:26 +0900)
commit4c3d18916ab6ffbdd26ab329a9ded93195a8a4d9
treeb1d5c21db7575067d1fdb6aabce06f6114cc3039
parent510143798dafb93291efa7d700f433dfba079cbc
upstream: [media] v4l: omap3isp: Don't check for missing get_fmt op on remote subdev

The remote subdev of any video node in the OMAP3 ISP is an internal
subdev that is guaranteed to implement get_fmt. Don't check the return
value for -ENOIOCTLCMD, as this can't happen.
While at it, move non-critical code out of the mutex-protected section.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/omap3isp/ispvideo.c