This is an automatic generated email to let you know that the following patch 
were queued:

Subject: [media] v4l: vsp1: Fix LUT format setting
Author:  Laurent Pinchart <[email protected]>
Date:    Mon Nov 16 02:07:58 2015 -0200

The LUT set format handler overrides the requested format by mistake.
Fix it.

Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/platform/vsp1/vsp1_lut.c | 1 +
 1 file changed, 1 insertion(+)

---

diff --git a/drivers/media/platform/vsp1/vsp1_lut.c 
b/drivers/media/platform/vsp1/vsp1_lut.c
index c779648882ab..33e3b5cc9c9b 100644
--- a/drivers/media/platform/vsp1/vsp1_lut.c
+++ b/drivers/media/platform/vsp1/vsp1_lut.c
@@ -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,

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to