diff options
author | Sudhir Vyas <svyas@nvidia.com> | 2012-12-13 14:46:50 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-12-17 06:43:02 -0800 |
commit | ae7afaaf03b2bf71d3df611b2e779644d11f41e6 (patch) | |
tree | 2b745472ae0544bb47007957c4cd1200841ae144 /drivers/media | |
parent | 4acb56df51ac310f2ca531accdc380fafa54e52b (diff) |
media: video: tegra: imx091: Fix pll_mult value
The pll_mult value for imx091 new mode [524x390]
is incorrectly set. Which is being used to derive
VtPixelClk and later this clock is used to calculate
coarse-time, frame-length and frame-rate, hence all
are being calculated to wrong values.
Slow-mo faces the incorrect fps issue when same mode
needs to be programmed with different fps.
Bug 1180474
Change-Id: I668095cf3927c58947df79fd3f59b99e3bfac24a
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/#change,170414
Reviewed-on: http://git-master/r/170910
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/tegra/imx091.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tegra/imx091.c b/drivers/media/video/tegra/imx091.c index b8c670ba3aae..00b92c9d1481 100644 --- a/drivers/media/video/tegra/imx091.c +++ b/drivers/media/video/tegra/imx091.c @@ -1,7 +1,7 @@ /* * imx091.c - imx091 sensor driver * -* Copyright (c) 2012, NVIDIA, All Rights Reserved. +* Copyright (c) 2012 NVIDIA Corporation. All Rights Reserved. * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any @@ -937,7 +937,7 @@ static struct imx091_mode_data imx091_524x390 = { .inherent_gain_bin_en = 1000, /* / _INT2FLOAT_DIVISOR */ .support_bin_control = 0, .support_fast_mode = 0, - .pll_mult = 0x20, + .pll_mult = 0x2F, .pll_div = 0x2, }, .p_mode_i2c = imx091_524X390_i2c, |