[media] omap3isp: preview: Optimize parameters setup for the common case
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 26 Mar 2012 13:24:50 +0000 (10:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 May 2012 16:52:33 +0000 (13:52 -0300)
commitf22926e06e1ab7aa5f5c532afa4591f3d9baf59c
tree4d736ec9974a4921fae70279b8888351a82265b0
parent213cf90b9ad07d40c1e7aa5781907695107fe188
[media] omap3isp: preview: Optimize parameters setup for the common case

If no parameter needs to be modified, make preview_config() and
preview_setup_hw() return immediately. This speeds up interrupt handling
in the common case.

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/video/omap3isp/isppreview.c