summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Bang <jbang@nvidia.com>2012-02-13 18:00:13 -0800
committerSimone Willett <swillett@nvidia.com>2012-04-30 10:41:26 -0700
commit959f693861b9a4f2390b87d93bbc0de034283524 (patch)
treefce983d07964e619595c058a9f5f39d7bcbf1f6e
parent26b17cba0bb78ef42fdf355eb96a88538b9e115d (diff)
media: video: tegra: ar0832: adjust frame rate
Change line_length for 1080p mode in order to change frame rate from 31.30 to 29.50 fps. The reason that new fps is not 30 is because flicker detection requires fps not to be multiples of 60/50Hz. This change helps save power and lower the chance of frame drop. Bug 928296 Change-Id: I4fda13d9334c725754b3f5eab034309a1dfef3dc Signed-off-by: Jihoon Bang <jbang@nvidia.com> Reviewed-on: http://git-master/r/83636 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
-rw-r--r--drivers/media/video/tegra/ar0832_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tegra/ar0832_main.c b/drivers/media/video/tegra/ar0832_main.c
index dc0762a0c432..017f8bf44cc6 100644
--- a/drivers/media/video/tegra/ar0832_main.c
+++ b/drivers/media/video/tegra/ar0832_main.c
@@ -738,7 +738,7 @@ static struct ar0832_reg mode_1920X1080_8140[] = {
{0x3178, 0x0000}, /* RESERVED_MFR_3178 */
{0x3ED0, 0x1E24}, /* RESERVED_MFR_3ED0 */
- {0x0342, 0x103B}, /* LINE_LENGTH_PCK */
+ {0x0342, 0x1139}, /* LINE_LENGTH_PCK */
{0x0340, 0x05C4}, /* FRAME_LENGTH_LINES */
{0x0202, 0x05C4}, /* COARSE_INTEGRATION_TIME */
{0x3014, 0x0702}, /* FINE_INTEGRATION_TIME */
@@ -863,7 +863,7 @@ static struct ar0832_reg mode_1920X1080_8141[] = {
{0x3178, 0x0000}, /* RESERVED_MFR_3178 */
{0x3ED0, 0x1E24}, /* RESERVED_MFR_3ED0 */
- {0x0342, 0x103B}, /* LINE_LENGTH_PCK */
+ {0x0342, 0x1139}, /* LINE_LENGTH_PCK */
{0x0340, 0x05C4}, /* FRAME_LENGTH_LINES */
{0x0202, 0x05C4}, /* COARSE_INTEGRATION_TIME */
{0x3014, 0x0702}, /* FINE_INTEGRATION_TIME */