[media] media: bfin_capture: 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:42:37 +0000 (12:42 -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: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/blackfin/bfin_capture.c

index cf3d94f733ff679a6e55c14e7d29afd1959b2c7b..16e4b1c525c4105d7fceec8844e57efb28fd3f11 100644 (file)
@@ -644,7 +644,9 @@ static int bcap_enum_dv_timings(struct file *file, void *priv,
 {
        struct bcap_device *bcap_dev = video_drvdata(file);
 
-       return v4l2_subdev_call(bcap_dev->sd, video,
+       timings->pad = 0;
+
+       return v4l2_subdev_call(bcap_dev->sd, pad,
                        enum_dv_timings, timings);
 }