[media] media: use unsigned for pad index

The pad index is unsigned. Replace the occurences of it where
pertinent.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Mauro Carvalho Chehab
2015-12-11 12:23:23 -02:00
parent 1fc25d30a4
commit 829de29bfe
11 changed files with 11 additions and 11 deletions

View File

@@ -1144,7 +1144,7 @@ static int csi2_link_setup(struct media_entity *entity,
struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(entity);
struct isp_csi2_device *csi2 = v4l2_get_subdevdata(sd);
struct isp_csi2_ctrl_cfg *ctrl = &csi2->ctrl;
int index = local->index;
unsigned int index = local->index;
/*
* The ISP core doesn't support pipelines with multiple video outputs.