Commit bbe8c836 authored by Erik Andrén's avatar Erik Andrén Committed by Mauro Carvalho Chehab

V4L/DVB (13882): gspca - stv06xx-vv6410: Ensure register STV_SCAN_RATE is zero

The Quickcam Web camera would not produce an image if you removed and inserted the module multiple times without physically power cycling the camera first.
By writing zero to bridge register STV_SCAN_RATE (0x1443) the camera works as intended, regardless of the number of module insertions.
Signed-off-by: default avatarErik Andrén <erik.andren@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 5cc60d61
...@@ -228,6 +228,7 @@ static const struct stv_init stv_bridge_init[] = { ...@@ -228,6 +228,7 @@ static const struct stv_init stv_bridge_init[] = {
/* This reg is written twice. Some kind of reset? */ /* This reg is written twice. Some kind of reset? */
{NULL, 0x1620, 0x80}, {NULL, 0x1620, 0x80},
{NULL, 0x1620, 0x00}, {NULL, 0x1620, 0x00},
{NULL, 0x1443, 0x00},
{NULL, 0x1423, 0x04}, {NULL, 0x1423, 0x04},
{x1500, 0x1500, ARRAY_SIZE(x1500)}, {x1500, 0x1500, ARRAY_SIZE(x1500)},
{x1536, 0x1536, ARRAY_SIZE(x1536)}, {x1536, 0x1536, ARRAY_SIZE(x1536)},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment