summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorErik Andr?n2009-01-11 16:46:51 +0100
committerMauro Carvalho Chehab2009-06-16 23:20:28 +0200
commitd9a11e28c862dd1f05193659025a99712bb507e9 (patch)
tree47d3bffe7f2f8ce404e41dce4b2087768687a9a1 /drivers
parentV4L/DVB (11472): gspca - m5602-mt9m111: Remove lots of redundant init code (diff)
downloadkernel-qcow2-linux-d9a11e28c862dd1f05193659025a99712bb507e9.tar.gz
kernel-qcow2-linux-d9a11e28c862dd1f05193659025a99712bb507e9.tar.xz
kernel-qcow2-linux-d9a11e28c862dd1f05193659025a99712bb507e9.zip
V4L/DVB (11473): gspca - m5602-po1030: Release reset when init is done.
Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_po1030.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_po1030.h b/drivers/media/video/gspca/m5602/m5602_po1030.h
index 5ba3f73b7873..8865037296b0 100644
--- a/drivers/media/video/gspca/m5602/m5602_po1030.h
+++ b/drivers/media/video/gspca/m5602/m5602_po1030.h
@@ -250,6 +250,14 @@ static const unsigned char init_po1030[][3] =
{BRIDGE, M5602_XB_SEN_CLK_DIV, 0x04},
{BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
/*end of sequence 2 stop */
+
+ {BRIDGE, M5602_XB_GPIO_DIR, 0x05},
+ {BRIDGE, M5602_XB_GPIO_DAT, 0x00},
+ {BRIDGE, M5602_XB_GPIO_EN_H, 0x06},
+ {BRIDGE, M5602_XB_GPIO_EN_L, 0x00},
+
+ {SENSOR, PO1030_AUTOCTRL2, 0x04},
+
};
static const unsigned char start_po1030[][3] =