diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-01-31 07:04:19 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-25 11:43:10 -0400 |
commit | 0eda185c6cd8ff47ffac172577fca9394073a4d6 (patch) | |
tree | ddd48384dc8c36bdbe138ce300ef59da69dbae67 | |
parent | 10d2146dbeeab165ae5b794cfc6be530c6458df2 (diff) |
[media] media: staging: davinci: vpfe: 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: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r-- | drivers/staging/media/davinci_vpfe/vpfe_video.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c b/drivers/staging/media/davinci_vpfe/vpfe_video.c index 425e2c849723..d95c427043d4 100644 --- a/drivers/staging/media/davinci_vpfe/vpfe_video.c +++ b/drivers/staging/media/davinci_vpfe/vpfe_video.c | |||
@@ -986,8 +986,10 @@ vpfe_enum_dv_timings(struct file *file, void *fh, | |||
986 | struct vpfe_device *vpfe_dev = video->vpfe_dev; | 986 | struct vpfe_device *vpfe_dev = video->vpfe_dev; |
987 | struct v4l2_subdev *subdev = video->current_ext_subdev->subdev; | 987 | struct v4l2_subdev *subdev = video->current_ext_subdev->subdev; |
988 | 988 | ||
989 | timings->pad = 0; | ||
990 | |||
989 | v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_dv_timings\n"); | 991 | v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_dv_timings\n"); |
990 | return v4l2_subdev_call(subdev, video, enum_dv_timings, timings); | 992 | return v4l2_subdev_call(subdev, pad, enum_dv_timings, timings); |
991 | } | 993 | } |
992 | 994 | ||
993 | /* | 995 | /* |