2014-03-11 7:15 GMT+08:00 Laurent Pinchart <[email protected]>:
> 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.
>
> Cc: Scott Jiang <[email protected]>
> Signed-off-by: Laurent Pinchart <[email protected]>
> Reviewed-by: Hans Verkuil <[email protected]>
> ---
>  drivers/media/platform/blackfin/bfin_capture.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/blackfin/bfin_capture.c 
> b/drivers/media/platform/blackfin/bfin_capture.c
> index 200bec9..22fb701 100644
> --- a/drivers/media/platform/blackfin/bfin_capture.c
> +++ b/drivers/media/platform/blackfin/bfin_capture.c
> @@ -648,7 +648,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);
>  }
>

Acked-by: Scott Jiang <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to