[media] omap3isp: Move non-critical code out of the mutex-protected section
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 19 May 2014 13:33:15 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:13 +0000 (15:25 -0500)
commit25c5cc9194f241d9180b4ca76a1845efd0a02769
tree2499a6f0254c1432b3f11a6463213614e084617c
parent9884a955a9da8488a88672a3eff40309bbd7f74f
[media] omap3isp: Move non-critical code out of the mutex-protected section

The isp_video_pix_to_mbus() and isp_video_mbus_to_pix() calls in
isp_video_set_format() only access static fields of the isp_video
structure. They don't need to be protected by a mutex.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Enrico Butera <ebutera@users.sourceforge.net>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap3isp/ispvideo.c