]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit5cdc42aaf6b5061886f232f273f309ea3b6ef757
tree199d98fd4a5208b52d3df11f9fb36189ee914cb0
parent64dc461b93b5fb60b30c6af10a058e4fdf6a5669
[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