mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 13:36:41 +07:00
V4L/DVB: cx231xx: switch to new vbi subdev ops
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
09419af39b
commit
7e87ddb101
@ -1669,7 +1669,7 @@ static int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *priv,
|
||||
|
||||
f->fmt.sliced.service_set = 0;
|
||||
|
||||
call_all(dev, video, g_fmt, f);
|
||||
call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced);
|
||||
|
||||
if (f->fmt.sliced.service_set == 0)
|
||||
rc = -EINVAL;
|
||||
@ -1690,7 +1690,7 @@ static int vidioc_try_set_sliced_vbi_cap(struct file *file, void *priv,
|
||||
return rc;
|
||||
|
||||
mutex_lock(&dev->lock);
|
||||
call_all(dev, video, g_fmt, f);
|
||||
call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced);
|
||||
mutex_unlock(&dev->lock);
|
||||
|
||||
if (f->fmt.sliced.service_set == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user