[media] sh_mobile_ceu_camera: implement the control handler
And since this is the last and only host driver that uses controls, also remove the now obsolete control fields from soc_camera.h. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> [g.liakhovetski@gmx.de: moved code around, fixed problems] Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
ee02da6455
commit
d34bfcd2a1
@@ -96,14 +96,10 @@ struct soc_camera_host_ops {
|
||||
int (*reqbufs)(struct soc_camera_device *, struct v4l2_requestbuffers *);
|
||||
int (*querycap)(struct soc_camera_host *, struct v4l2_capability *);
|
||||
int (*set_bus_param)(struct soc_camera_device *, __u32);
|
||||
int (*get_ctrl)(struct soc_camera_device *, struct v4l2_control *);
|
||||
int (*set_ctrl)(struct soc_camera_device *, struct v4l2_control *);
|
||||
int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *);
|
||||
int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *);
|
||||
int (*enum_fsizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *);
|
||||
unsigned int (*poll)(struct file *, poll_table *);
|
||||
const struct v4l2_queryctrl *controls;
|
||||
int num_controls;
|
||||
};
|
||||
|
||||
#define SOCAM_SENSOR_INVERT_PCLK (1 << 0)
|
||||
|
Reference in New Issue
Block a user