summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/stv06xx/stv06xx.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-06-17 18:37:57 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-23 03:13:11 -0300
commit8668d504d72c384fbfb6ab6f5d02a9fe4d813554 (patch)
tree4ba923b0a7ccda8121960231e758135ba9bd584a /drivers/media/video/gspca/stv06xx/stv06xx.h
parentae49c40461d8981b232e3fec28234d492067f0e1 (diff)
downloadlinux-stable-8668d504d72c384fbfb6ab6f5d02a9fe4d813554.tar.gz
linux-stable-8668d504d72c384fbfb6ab6f5d02a9fe4d813554.tar.bz2
linux-stable-8668d504d72c384fbfb6ab6f5d02a9fe4d813554.zip
V4L/DVB (12082): gspca_stv06xx: Add support for st6422 bridge and sensor
Add support for st6422 bridge and sensor to the stv06xx gspca sub driver, tested with: Logitech QuickCam Messenger 046d:08f0 ST6422 integrated Logitech QuickCam Mess. Plus 046d:08f6 ST6422 integrated 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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.h b/drivers/media/video/gspca/stv06xx/stv06xx.h
index 1207e7d17f14..9df7137fe67e 100644
--- a/drivers/media/video/gspca/stv06xx/stv06xx.h
+++ b/drivers/media/video/gspca/stv06xx/stv06xx.h
@@ -93,6 +93,17 @@ struct sd {
/* Sensor private data */
void *sensor_priv;
+
+ /* The first 4 lines produced by the stv6422 are no good, this keeps
+ track of how many bytes we still need to skip during a frame */
+ int to_skip;
+
+ /* Bridge / Camera type */
+ u8 bridge;
+ #define BRIDGE_STV600 0
+ #define BRIDGE_STV602 1
+ #define BRIDGE_STV610 2
+ #define BRIDGE_ST6422 3 /* With integrated sensor */
};
int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data);