diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-01-31 09:04:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-25 12:42:37 -0300 |
commit | f1f8e4348d7d57977b8cd1c454420d9bb2717b72 (patch) | |
tree | bcd2827f8edc2d50a6d981ed757700d65b38aba1 /drivers/media | |
parent | 307d3bd4975b1621624a0414a9c328f9b2deae10 (diff) | |
download | linux-f1f8e4348d7d57977b8cd1c454420d9bb2717b72.tar.bz2 |
[media] media: bfin_capture: Switch to pad-level DV operations
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/blackfin/bfin_capture.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c index cf3d94f733ff..16e4b1c525c4 100644 --- a/drivers/media/platform/blackfin/bfin_capture.c +++ b/drivers/media/platform/blackfin/bfin_capture.c @@ -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); } |