diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-05-06 09:28:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 09:38:12 -0300 |
commit | dec9c51442b5a524c137b6f4a54ec109a197a65a (patch) | |
tree | 25c5dfbcd381868228fe9b44468a98ec6c2592fc /drivers/media/video/gspca/stv06xx/stv06xx.h | |
parent | 7135d88495b0043c0d61bd85408542dc0cb0bca0 (diff) | |
download | blackbird-op-linux-dec9c51442b5a524c137b6f4a54ec109a197a65a.tar.gz blackbird-op-linux-dec9c51442b5a524c137b6f4a54ec109a197a65a.zip |
[media] gspca_stv06xx: Convert to the control framework
HdG:
1) Let the gspca-core cleanup the controls on control-init error, like
with the other converted sub drivers
2) Note this also fixes a bug in the hdcs1020 support which was wrongly
reporting an exposure range of 0-65535, even though the effective range was
only 0-255
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/stv06xx/stv06xx.h')
-rw-r--r-- | drivers/media/video/gspca/stv06xx/stv06xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.h b/drivers/media/video/gspca/stv06xx/stv06xx.h index d270a5981afe..b338edcdbe0c 100644 --- a/drivers/media/video/gspca/stv06xx/stv06xx.h +++ b/drivers/media/video/gspca/stv06xx/stv06xx.h @@ -89,6 +89,9 @@ struct sd { /* A pointer to the currently connected sensor */ const struct stv06xx_sensor *sensor; + /* Control handler */ + struct v4l2_ctrl_handler ctrl_handler; + /* A pointer to the sd_desc struct */ struct sd_desc desc; |