summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolokh Konstantin <volokh84@gmail.com>2012-08-22 12:45:15 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-24 16:29:46 +0100
commit523a4f7fbcf856fb1c2a4850f44edea6738ee37b (patch)
treeb531723c1ff0c5d9f1943ccf2ae2c7fea94cc63c
parent[media] tw2804: add support for the Techwell tw2804 (diff)
downloadlinux-523a4f7fbcf856fb1c2a4850f44edea6738ee37b.tar.xz
linux-523a4f7fbcf856fb1c2a4850f44edea6738ee37b.zip
[media] tw2804: modify ADC power control
Switch off all ADC (max 4) with first init, we control it when starting/stopping streaming. Signed-off-by: Volokh Konstantin <volokh84@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/i2c/tw2804.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/tw2804.c b/drivers/media/i2c/tw2804.c
index 4bb5ba671c0d..441b7661d491 100644
--- a/drivers/media/i2c/tw2804.c
+++ b/drivers/media/i2c/tw2804.c
@@ -53,6 +53,7 @@ static const u8 global_registers[] = {
0x3d, 0x80,
0x3e, 0x82,
0x3f, 0x82,
+ 0x78, 0x0f,
0xff, 0xff, /* Terminator (reg 0xff does not exist) */
};