summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-03-03 15:25:47 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-14 01:11:44 +0300
commitb25854e134e9a28c600937ac2320d65c1530283e (patch)
treeec135b40c67c5c4c4ff71a290d4d226fec82ef45 /drivers/media/platform/vsp1
parente2b6d7b38c8d2082bacb72a322db9e6a6216ae15 (diff)
downloadlinux-b25854e134e9a28c600937ac2320d65c1530283e.tar.xz
[media] v4l: vsp1: dl: Make reg_count field unsigned
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>
Diffstat (limited to 'drivers/media/platform/vsp1')
-rw-r--r--drivers/media/platform/vsp1/vsp1_dl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_dl.c b/drivers/media/platform/vsp1/vsp1_dl.c
index 54f8f4719276..51d14c4a4231 100644
--- a/drivers/media/platform/vsp1/vsp1_dl.c
+++ b/drivers/media/platform/vsp1/vsp1_dl.c
@@ -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 {