[media] mt9p031: fixed calculation of clk_div
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Wed, 4 Feb 2015 14:53:32 +0000 (11:53 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:19:04 +0000 (21:19 -0300)
commit198b47ddd23498cd88f4ec2c2a050eb727cc357c
tree11af4bafd4a0dc1044e14a981174e6997d703554
parentac0eb4809e88357b885c72b4e95def98235613c8
[media] mt9p031: fixed calculation of clk_div

There must be used 'min_t', not 'max_t' for calculating the divider.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/mt9p031.c