[media] omap3isp: preview: Merge configuration and feature bits
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 5 Apr 2012 15:38:23 +0000 (12:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 May 2012 16:58:27 +0000 (13:58 -0300)
commit3108e0261111412e9c459124bc07b34fc0d28f32
tree199d98fd4a5208b52d3df11f9fb36189ee914cb0
parent9c3444c1b2127ab037a10785b671aec6f0713a4a
[media] omap3isp: preview: Merge configuration and feature bits

The preview engine parameters are referenced by a value suitable for
being used in a bitmask. Two macros named OMAP3ISP_PREV_* and PREV_* are
declared for each parameter and are used interchangeably. Remove the
private macro.

Replace the configuration bit field in the parameter update attributes
structure with a boolean that indicates whether the parameter can be
updated through the preview engine configuration ioctl.

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
drivers/media/video/omap3isp/isppreview.h