[media] V4L2: mt9t112: fixup JPEG initialization workaround
authorMasahiro Nakai <nakai@atmark-techno.com>
Tue, 8 May 2012 04:22:31 +0000 (01:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 May 2012 19:15:35 +0000 (16:15 -0300)
It has been indicated on Atmark Techno Web page
http://armadillo.atmark-techno.com/faq/a800eva-dont-work-camera

Signed-off-by: Masahiro Nakai <nakai@atmark-techno.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9t112.c

index 8d1445f127087561054966d61c5b86c555d41471..e1ae46a7ee96e81f9a4da20bf7c5dc2267c0585b 100644 (file)
@@ -453,6 +453,7 @@ static int mt9t112_init_pll(const struct i2c_client *client)
         * I2C Master Clock Divider
         */
        mt9t112_reg_write(ret, client, 0x0014, 0x3046);
+       mt9t112_reg_write(ret, client, 0x0016, 0x0400); /* JPEG initialization workaround */
        mt9t112_reg_write(ret, client, 0x0022, 0x0190);
        mt9t112_reg_write(ret, client, 0x3B84, 0x0212);
 
This page took 0.036168 seconds and 5 git commands to generate.