From: Laurent Pinchart Date: Mon, 26 Mar 2012 11:54:26 +0000 (-0300) Subject: [media] omap3isp: preview: Skip brightness and contrast in configuration ioctl X-Git-Tag: v3.5-rc1~104^2~317 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=213cf90b9ad07d40c1e7aa5781907695107fe188;p=pandora-kernel.git [media] omap3isp: preview: Skip brightness and contrast in configuration ioctl Brightness and contrast are handled through V4L2 controls. Their configuration bit in the preview engine update attributes table is set to -1 to reflect that. However, the VIDIOC_OMAP3ISP_PRV_CFG ioctl handler doesn't handle -1 correctly as a configuration bit value, and erroneously considers that the parameter has been selected for update by the ioctl caller. Fix this. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed