summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/stv06xx/stv06xx.h
diff options
context:
space:
mode:
authorErik Andrén <erik.andren@gmail.com>2011-07-27 17:18:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-31 00:50:14 -0300
commitf9ada374f07fa8c09c15262ffd26371beacb1e98 (patch)
tree14a5e076c61cb4603ffbed4abd47cc3ea0f476fa /drivers/media/video/gspca/stv06xx/stv06xx.h
parent664a41b8a91bf78a01a751e15175e0008977685a (diff)
downloadlinux-stable-f9ada374f07fa8c09c15262ffd26371beacb1e98.tar.gz
linux-stable-f9ada374f07fa8c09c15262ffd26371beacb1e98.tar.bz2
linux-stable-f9ada374f07fa8c09c15262ffd26371beacb1e98.zip
[media] gspca-stv06xx: Simplify register writes by avoiding special data structures
Signed-off-by: Erik Andrén <erik.andren@gmail.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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.h b/drivers/media/video/gspca/stv06xx/stv06xx.h
index e0f63c51f40d..d270a5981afe 100644
--- a/drivers/media/video/gspca/stv06xx/stv06xx.h
+++ b/drivers/media/video/gspca/stv06xx/stv06xx.h
@@ -37,6 +37,8 @@
#define STV_ISOC_ENDPOINT_ADDR 0x81
+#define STV_R 0x0509
+
#define STV_REG23 0x0423
/* Control registers of the STV0600 ASIC */
@@ -61,7 +63,9 @@
/* Refers to the CIF 352x288 and QCIF 176x144 */
/* 1: 288 lines, 2: 144 lines */
-#define STV_Y_CTRL 0x15c3
+#define STV_Y_CTRL 0x15c3
+
+#define STV_RESET 0x1620
/* 0xa: 352 columns, 0x6: 176 columns */
#define STV_X_CTRL 0x1680