Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Laurent Pinchart and committed by
Mauro Carvalho Chehab
5aedc109 7103180b

+2 -2
+2 -2
drivers/media/video/omap3isp/isppreview.c
··· 888 888 preview_config_contrast, 889 889 NULL, 890 890 offsetof(struct prev_params, contrast), 891 - 0, true, 891 + 0, 0, true, 892 892 }, /* OMAP3ISP_PREV_BRIGHTNESS */ { 893 893 preview_config_brightness, 894 894 NULL, 895 895 offsetof(struct prev_params, brightness), 896 - 0, true, 896 + 0, 0, true, 897 897 }, 898 898 }; 899 899