[media] v4l: vsp1: dl: Make reg_count field unsigned
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 3 Mar 2016 12:25:47 +0000 (09:25 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 22:11:44 +0000 (19:11 -0300)
The field takes positive values only, make it unsigned.

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

index 54f8f47..51d14c4 100644 (file)
@@ -60,7 +60,7 @@ struct vsp1_dl_list {
        dma_addr_t dma;
        size_t size;
 
-       int reg_count;
+       unsigned int reg_count;
 };
 
 enum vsp1_dl_mode {