[media] omap3isp: ccdc: Simplify the configuration function
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 19 May 2014 18:05:51 +0000 (15:05 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:13 +0000 (15:25 -0500)
commit2e8f01725e332c8998b87a6fe09cfc3b105eb643
treeed4481000fb906ffb4f0fbf2294cd737fb237cfe
parentf7abbe989f7aa5e1d65fc7f171b8c144f4382045
[media] omap3isp: ccdc: Simplify the configuration function

Assign the format variable to the sink pad format earlier and use it
instead of accessing the sink pad format directly from the ISP
structure.

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/ispccdc.c