aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/i2c/tw2804.c
diff options
context:
space:
mode:
authorVolokh Konstantin <volokh84@gmail.com>2012-08-22 07:45:15 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-24 12:29:46 -0300
commit523a4f7fbcf856fb1c2a4850f44edea6738ee37b (patch)
treeb531723c1ff0c5d9f1943ccf2ae2c7fea94cc63c /drivers/media/i2c/tw2804.c
parent[media] tw2804: add support for the Techwell tw2804 (diff)
downloadwireguard-linux-523a4f7fbcf856fb1c2a4850f44edea6738ee37b.tar.xz
wireguard-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>
Diffstat (limited to 'drivers/media/i2c/tw2804.c')
-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) */
};