From: Laurent Pinchart Date: Fri, 6 Jul 2012 11:41:25 +0000 (-0300) Subject: [media] omap3isp: preview: Fix contrast and brightness handling X-Git-Tag: v3.5-rc7~15^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5aedc1094041335598c6aa73c5cf882f30886cd7;p=platform%2Fkernel%2Flinux-exynos.git [media] omap3isp: preview: Fix contrast and brightness handling Commit bac387efbb88cf0e8df6f46a38387897cea464ee ("omap3isp: preview: Simplify configuration parameters access") added three fields to the preview_update structure, but failed to properly update the related initializers. Fix this. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/omap3isp/isppreview.c b/drivers/media/video/omap3isp/isppreview.c index a48a747..dd91da2 100644 --- a/drivers/media/video/omap3isp/isppreview.c +++ b/drivers/media/video/omap3isp/isppreview.c @@ -888,12 +888,12 @@ static const struct preview_update update_attrs[] = { preview_config_contrast, NULL, offsetof(struct prev_params, contrast), - 0, true, + 0, 0, true, }, /* OMAP3ISP_PREV_BRIGHTNESS */ { preview_config_brightness, NULL, offsetof(struct prev_params, brightness), - 0, true, + 0, 0, true, }, };