Commit 61282daf authored by Masahiro Nakai's avatar Masahiro Nakai Committed by Mauro Carvalho Chehab

[media] V4L2: mt9t112: fixup JPEG initialization workaround

It has been indicated on Atmark Techno Web page
http://armadillo.atmark-techno.com/faq/a800eva-dont-work-cameraSigned-off-by: default avatarMasahiro Nakai <nakai@atmark-techno.com>
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 2564f67b
...@@ -453,6 +453,7 @@ static int mt9t112_init_pll(const struct i2c_client *client) ...@@ -453,6 +453,7 @@ static int mt9t112_init_pll(const struct i2c_client *client)
* I2C Master Clock Divider * I2C Master Clock Divider
*/ */
mt9t112_reg_write(ret, client, 0x0014, 0x3046); 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, 0x0022, 0x0190);
mt9t112_reg_write(ret, client, 0x3B84, 0x0212); mt9t112_reg_write(ret, client, 0x3B84, 0x0212);
......
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