提交 825f31b0 编写于 作者: E Erik Andr?n 提交者: Mauro Carvalho Chehab

V4L/DVB (11531): gspca - m5602-po1030: Clean up some comments

Signed-off-by: NErik Andr?n <erik.andren@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 7ee46290
...@@ -219,7 +219,6 @@ static const unsigned char init_po1030[][3] = ...@@ -219,7 +219,6 @@ static const unsigned char init_po1030[][3] =
static const unsigned char start_po1030[][3] = static const unsigned char start_po1030[][3] =
{ {
/*sequence 4*/
{BRIDGE, M5602_XB_GPIO_DIR, 0x05}, {BRIDGE, M5602_XB_GPIO_DIR, 0x05},
{BRIDGE, M5602_XB_GPIO_DAT, 0x00}, {BRIDGE, M5602_XB_GPIO_DAT, 0x00},
{BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, {BRIDGE, M5602_XB_GPIO_EN_H, 0x06},
...@@ -253,7 +252,7 @@ static const unsigned char start_po1030[][3] = ...@@ -253,7 +252,7 @@ static const unsigned char start_po1030[][3] =
{SENSOR, PO1030_OUTFORMCTRL2, PO1030_RAW_RGB_BAYER}, {SENSOR, PO1030_OUTFORMCTRL2, PO1030_RAW_RGB_BAYER},
{SENSOR, PO1030_AUTOCTRL1, PO1030_WEIGHT_WIN_2X}, {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, PO1030_CONTROL2, 0x03},
{SENSOR, 0x21, 0x90}, {SENSOR, 0x21, 0x90},
{SENSOR, PO1030_YTARGET, 0x60}, {SENSOR, PO1030_YTARGET, 0x60},
...@@ -269,8 +268,6 @@ static const unsigned char start_po1030[][3] = ...@@ -269,8 +268,6 @@ static const unsigned char start_po1030[][3] =
{SENSOR, PO1030_CONTROL1, PO1030_SHUTTER_MODE | {SENSOR, PO1030_CONTROL1, PO1030_SHUTTER_MODE |
PO1030_AUTO_SUBSAMPLING | PO1030_AUTO_SUBSAMPLING |
PO1030_FRAME_EQUAL}, PO1030_FRAME_EQUAL},
{SENSOR, PO1030_GREEN_1_GAIN, 0x30},
{SENSOR, PO1030_GREEN_2_GAIN, 0x30},
{SENSOR, PO1030_GC0, 0x10}, {SENSOR, PO1030_GC0, 0x10},
{SENSOR, PO1030_GC1, 0x20}, {SENSOR, PO1030_GC1, 0x20},
{SENSOR, PO1030_GC2, 0x40}, {SENSOR, PO1030_GC2, 0x40},
...@@ -279,9 +276,7 @@ static const unsigned char start_po1030[][3] = ...@@ -279,9 +276,7 @@ static const unsigned char start_po1030[][3] =
{SENSOR, PO1030_GC5, 0xa0}, {SENSOR, PO1030_GC5, 0xa0},
{SENSOR, PO1030_GC6, 0xc0}, {SENSOR, PO1030_GC6, 0xc0},
{SENSOR, PO1030_GC7, 0xff}, {SENSOR, PO1030_GC7, 0xff},
/*end of sequence 4*/
/*sequence 5*/
{BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06},
{BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
{BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, {BRIDGE, M5602_XB_ADC_CTRL, 0xc0},
...@@ -304,8 +299,6 @@ static const unsigned char start_po1030[][3] = ...@@ -304,8 +299,6 @@ static const unsigned char start_po1030[][3] =
{BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, {BRIDGE, M5602_XB_HSYNC_PARA, 0x02},
{BRIDGE, M5602_XB_HSYNC_PARA, 0x7e}, {BRIDGE, M5602_XB_HSYNC_PARA, 0x7e},
{BRIDGE, M5602_XB_SIG_INI, 0x00}, {BRIDGE, M5602_XB_SIG_INI, 0x00},
/*end of sequence 5*/
/*sequence 6*/
/* with a very low lighted environment increase the exposure but /* with a very low lighted environment increase the exposure but
* decrease the FPS (Frame Per Second) */ * decrease the FPS (Frame Per Second) */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册