summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602
diff options
context:
space:
mode:
authorErik Andr?n <erik.andren@gmail.com>2009-01-15 07:40:01 +0100
committerErik Andr?n <erik.andren@gmail.com>2009-01-15 07:40:01 +0100
commitbe1a0962a6ab828e2487dbb2e72c0c492b33e372 (patch)
treeafcaae0395bd38728ed1f56da0d942ff313edc96 /linux/drivers/media/video/gspca/m5602
parent5432c866197d81e8af8579d9865ba47d770d44bc (diff)
downloadmediapointer-dvb-s2-be1a0962a6ab828e2487dbb2e72c0c492b33e372.tar.gz
mediapointer-dvb-s2-be1a0962a6ab828e2487dbb2e72c0c492b33e372.tar.bz2
gspca - m5602-po1030: Clean up some comments
From: Erik Andr?n <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_po1030.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_po1030.h b/linux/drivers/media/video/gspca/m5602/m5602_po1030.h
index 0b2dab038..98ef9d05e 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_po1030.h
+++ b/linux/drivers/media/video/gspca/m5602/m5602_po1030.h
@@ -219,7 +219,6 @@ static const unsigned char init_po1030[][3] =
static const unsigned char start_po1030[][3] =
{
- /*sequence 4*/
{BRIDGE, M5602_XB_GPIO_DIR, 0x05},
{BRIDGE, M5602_XB_GPIO_DAT, 0x00},
{BRIDGE, M5602_XB_GPIO_EN_H, 0x06},
@@ -253,7 +252,7 @@ static const unsigned char start_po1030[][3] =
{SENSOR, PO1030_OUTFORMCTRL2, PO1030_RAW_RGB_BAYER},
{SENSOR, PO1030_AUTOCTRL1, PO1030_WEIGHT_WIN_2X},
- /* This makes no sense, hflip and vflp is located at bit 7, 6 */
+
{SENSOR, PO1030_CONTROL2, 0x03},
{SENSOR, 0x21, 0x90},
{SENSOR, PO1030_YTARGET, 0x60},
@@ -269,8 +268,6 @@ static const unsigned char start_po1030[][3] =
{SENSOR, PO1030_CONTROL1, PO1030_SHUTTER_MODE |
PO1030_AUTO_SUBSAMPLING |
PO1030_FRAME_EQUAL},
- {SENSOR, PO1030_GREEN_1_GAIN, 0x30},
- {SENSOR, PO1030_GREEN_2_GAIN, 0x30},
{SENSOR, PO1030_GC0, 0x10},
{SENSOR, PO1030_GC1, 0x20},
{SENSOR, PO1030_GC2, 0x40},
@@ -279,9 +276,7 @@ static const unsigned char start_po1030[][3] =
{SENSOR, PO1030_GC5, 0xa0},
{SENSOR, PO1030_GC6, 0xc0},
{SENSOR, PO1030_GC7, 0xff},
- /*end of sequence 4*/
- /*sequence 5*/
{BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06},
{BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
{BRIDGE, M5602_XB_ADC_CTRL, 0xc0},
@@ -304,8 +299,6 @@ static const unsigned char start_po1030[][3] =
{BRIDGE, M5602_XB_HSYNC_PARA, 0x02},
{BRIDGE, M5602_XB_HSYNC_PARA, 0x7e},
{BRIDGE, M5602_XB_SIG_INI, 0x00},
- /*end of sequence 5*/
- /*sequence 6*/
/* with a very low lighted environment increase the exposure but
* decrease the FPS (Frame Per Second) */