]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
media: video: tegra: imx091: Fix pll_mult value
authorSudhir Vyas <svyas@nvidia.com>
Wed, 12 Dec 2012 08:56:04 +0000 (14:26 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:46:13 +0000 (12:46 -0700)
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: I673f6ad77fbb52225c0b427f5c78bd53bc473bea
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/170414
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amit Purwar <apurwar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/media/video/tegra/imx091.c

index a5598688cc98098cb0cc8529902e322cc2cebf87..216554271a7107ada5455f013466af75294bf51d 100644 (file)
@@ -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,