mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
media: vpif_display: Use pad variant of dv timing subdev calls
Use the pad variant for all (s|g|query)_dv_timings subdev calls, which includes a pad argument. Signed-off-by: Paweł Anikiel <panikiel@google.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
committed by
Hans Verkuil
parent
785a04bb3f
commit
fa6d5df14f
@@ -934,7 +934,7 @@ static int vpif_s_dv_timings(struct file *file, void *priv,
|
||||
}
|
||||
|
||||
/* Configure subdevice timings, if any */
|
||||
ret = v4l2_subdev_call(ch->sd, video, s_dv_timings, timings);
|
||||
ret = v4l2_subdev_call(ch->sd, pad, s_dv_timings, 0, timings);
|
||||
if (ret == -ENOIOCTLCMD || ret == -ENODEV)
|
||||
ret = 0;
|
||||
if (ret < 0) {
|
||||
|
||||
Reference in New Issue
Block a user