Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5aedc109 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab
Browse files

[media] omap3isp: preview: Fix contrast and brightness handling



Commit bac387ef ("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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 7103180b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -888,12 +888,12 @@ static const struct preview_update update_attrs[] = {
		preview_config_contrast,
		preview_config_contrast,
		NULL,
		NULL,
		offsetof(struct prev_params, contrast),
		offsetof(struct prev_params, contrast),
		0, true,
		0, 0, true,
	}, /* OMAP3ISP_PREV_BRIGHTNESS */ {
	}, /* OMAP3ISP_PREV_BRIGHTNESS */ {
		preview_config_brightness,
		preview_config_brightness,
		NULL,
		NULL,
		offsetof(struct prev_params, brightness),
		offsetof(struct prev_params, brightness),
		0, true,
		0, 0, true,
	},
	},
};
};