mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 18:56:44 +07:00
[media] vpbe_display: drop g/s_register ioctls
These are no longer needed: register access to subdevices no longer needs the bridge driver to forward them. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
d2cac16816
commit
9dd1d6f017
@ -1578,31 +1578,6 @@ static int vpbe_display_release(struct file *file)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_VIDEO_ADV_DEBUG
|
||||
static int vpbe_display_g_register(struct file *file, void *priv,
|
||||
struct v4l2_dbg_register *reg)
|
||||
{
|
||||
struct v4l2_dbg_match *match = ®->match;
|
||||
struct vpbe_fh *fh = file->private_data;
|
||||
struct vpbe_device *vpbe_dev = fh->disp_dev->vpbe_dev;
|
||||
|
||||
if (match->type >= 2) {
|
||||
v4l2_subdev_call(vpbe_dev->venc,
|
||||
core,
|
||||
g_register,
|
||||
reg);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int vpbe_display_s_register(struct file *file, void *priv,
|
||||
const struct v4l2_dbg_register *reg)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* vpbe capture ioctl operations */
|
||||
static const struct v4l2_ioctl_ops vpbe_ioctl_ops = {
|
||||
.vidioc_querycap = vpbe_display_querycap,
|
||||
@ -1629,10 +1604,6 @@ static const struct v4l2_ioctl_ops vpbe_ioctl_ops = {
|
||||
.vidioc_s_dv_timings = vpbe_display_s_dv_timings,
|
||||
.vidioc_g_dv_timings = vpbe_display_g_dv_timings,
|
||||
.vidioc_enum_dv_timings = vpbe_display_enum_dv_timings,
|
||||
#ifdef CONFIG_VIDEO_ADV_DEBUG
|
||||
.vidioc_g_register = vpbe_display_g_register,
|
||||
.vidioc_s_register = vpbe_display_s_register,
|
||||
#endif
|
||||
};
|
||||
|
||||
static struct v4l2_file_operations vpbe_fops = {
|
||||
|
Loading…
Reference in New Issue
Block a user