[media] v4l: vsp1: Fix LUT format setting
The LUT set format handler overrides the requested format by mistake. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
076e834fee
commit
e2b6d7b38c
@ -111,6 +111,7 @@ static int lut_set_format(struct v4l2_subdev *subdev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
format->code = fmt->format.code;
|
||||
format->width = clamp_t(unsigned int, fmt->format.width,
|
||||
LUT_MIN_SIZE, LUT_MAX_SIZE);
|
||||
format->height = clamp_t(unsigned int, fmt->format.height,
|
||||
|
Loading…
x
Reference in New Issue
Block a user