[media] media: staging: davinci: vpfe: Switch to pad-level DV operations
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 31 Jan 2014 12:04:19 +0000 (09:04 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 15:43:10 +0000 (12:43 -0300)
The video-level enum_dv_timings and dv_timings_cap operations are
deprecated in favor of the pad-level versions. All subdev drivers
implement the pad-level versions, switch to them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/davinci_vpfe/vpfe_video.c

index 425e2c849723ebb6cfd38197320dfedb4f760be0..d95c427043d43d5c3e898fbf2a45f1fba0ffbe9c 100644 (file)
@@ -986,8 +986,10 @@ vpfe_enum_dv_timings(struct file *file, void *fh,
        struct vpfe_device *vpfe_dev = video->vpfe_dev;
        struct v4l2_subdev *subdev = video->current_ext_subdev->subdev;
 
+       timings->pad = 0;
+
        v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_dv_timings\n");
-       return v4l2_subdev_call(subdev, video, enum_dv_timings, timings);
+       return v4l2_subdev_call(subdev, pad, enum_dv_timings, timings);
 }
 
 /*