From: Laurent Pinchart Date: Fri, 31 Jan 2014 12:04:19 +0000 (-0300) Subject: [media] media: bfin_capture: Switch to pad-level DV operations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f1f8e4348d7d57977b8cd1c454420d9bb2717b72;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Reviewed-by: Hans Verkuil Acked-by: Scott Jiang Signed-off-by: Mauro Carvalho Chehab --- 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); }