[media] v4l: vsp1: sru: Fix intensity control ID
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 16 Jun 2016 22:33:43 +0000 (19:33 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 28 Jun 2016 15:04:55 +0000 (12:04 -0300)
The intensity control reused the V4L2_CID_CONTRAST control ID by
mistake. Fix it by using an ID from the device-specific IDs range.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_sru.c

index 6f8cf98de8674b9d4c9627baee60753f509a2369..035c26934bc753dacc0f4bbae16cb2c296c13dfc 100644 (file)
@@ -37,7 +37,7 @@ static inline void vsp1_sru_write(struct vsp1_sru *sru, struct vsp1_dl_list *dl,
  * Controls
  */
 
-#define V4L2_CID_VSP1_SRU_INTENSITY            (V4L2_CID_USER_BASE 1)
+#define V4L2_CID_VSP1_SRU_INTENSITY            (V4L2_CID_USER_BASE | 0x1001)
 
 struct vsp1_sru_param {
        u32 ctrl0;
This page took 0.024856 seconds and 5 git commands to generate.