diff options
Diffstat (limited to 'drivers/media/video/soc_camera.c')
-rw-r--r-- | drivers/media/video/soc_camera.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c index db1ca0e90d76..475757bfd7ba 100644 --- a/drivers/media/video/soc_camera.c +++ b/drivers/media/video/soc_camera.c | |||
@@ -200,7 +200,8 @@ static int soc_camera_init_user_formats(struct soc_camera_device *icd) | |||
200 | { | 200 | { |
201 | struct v4l2_subdev *sd = soc_camera_to_subdev(icd); | 201 | struct v4l2_subdev *sd = soc_camera_to_subdev(icd); |
202 | struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent); | 202 | struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent); |
203 | int i, fmts = 0, raw_fmts = 0, ret; | 203 | unsigned int i, fmts = 0, raw_fmts = 0; |
204 | int ret; | ||
204 | enum v4l2_mbus_pixelcode code; | 205 | enum v4l2_mbus_pixelcode code; |
205 | 206 | ||
206 | while (!v4l2_subdev_call(sd, video, enum_mbus_fmt, raw_fmts, &code)) | 207 | while (!v4l2_subdev_call(sd, video, enum_mbus_fmt, raw_fmts, &code)) |