OSDN Git Service

[media] s5p-tv: hdmi: Remove deprecated video-level DV timings operations
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 31 Jan 2014 11:51:18 +0000 (08:51 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 15:45:20 +0000 (12:45 -0300)
The video enum_dv_timings and dv_timings_cap operations are deprecated
and unused. Remove them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/s5p-tv/hdmi_drv.c

index 3db496c..754740f 100644 (file)
@@ -693,7 +693,7 @@ static int hdmi_dv_timings_cap(struct v4l2_subdev *sd,
                return -EINVAL;
 
        /* Let the phy fill in the pixelclock range */
-       v4l2_subdev_call(hdev->phy_sd, video, dv_timings_cap, cap);
+       v4l2_subdev_call(hdev->phy_sd, pad, dv_timings_cap, cap);
        cap->type = V4L2_DV_BT_656_1120;
        cap->bt.min_width = 720;
        cap->bt.max_width = 1920;
@@ -712,8 +712,6 @@ static const struct v4l2_subdev_core_ops hdmi_sd_core_ops = {
 static const struct v4l2_subdev_video_ops hdmi_sd_video_ops = {
        .s_dv_timings = hdmi_s_dv_timings,
        .g_dv_timings = hdmi_g_dv_timings,
-       .enum_dv_timings = hdmi_enum_dv_timings,
-       .dv_timings_cap = hdmi_dv_timings_cap,
        .g_mbus_fmt = hdmi_g_mbus_fmt,
        .s_stream = hdmi_s_stream,
 };