diff options
author | Frank Chen <frankc@nvidia.com> | 2012-01-18 19:37:00 -0800 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-01-30 11:47:38 -0800 |
commit | c7269a17907eaef7e271085dc1fa204ace635228 (patch) | |
tree | 4e8dd4f75210c05dbc35cd87d4a19578f62424c8 /drivers/media | |
parent | 36d271bed03255ec821d7c2ffef405e61289ea0e (diff) |
media:video:tegra: Fix ov2710 stress test timeout issue
Put sensor to software standby mode before updating
registers. This helps to sync sensor internal timing.
Bug 914391
Reviewed-on: http://git-master/r/76148
Change-Id: I4ee0d918a0c792e0b40c14c9530002d3672be0f8
Signed-off-by: Frank Chen <frankc@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77307
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/tegra/ov2710.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/video/tegra/ov2710.c b/drivers/media/video/tegra/ov2710.c index 11405746056f..a2e02369d8e3 100644 --- a/drivers/media/video/tegra/ov2710.c +++ b/drivers/media/video/tegra/ov2710.c @@ -39,6 +39,9 @@ struct ov2710_info { static struct ov2710_reg mode_1920x1080[] = { {0x3103, 0x93}, {0x3008, 0x82}, + {OV2710_TABLE_WAIT_MS, 5}, + {0x3008, 0x42}, + {OV2710_TABLE_WAIT_MS, 5}, {0x3017, 0x7f}, {0x3018, 0xfc}, {0x3706, 0x61}, @@ -157,6 +160,7 @@ static struct ov2710_reg mode_1920x1080[] = { {0x350b, 0x00}, {0x5001, 0x4e}, {0x5000, 0x5f}, + {0x3008, 0x02}, {OV2710_TABLE_END, 0x0000} }; @@ -164,6 +168,9 @@ static struct ov2710_reg mode_1920x1080[] = { static struct ov2710_reg mode_1280x720[] = { {0x3103, 0x93}, {0x3008, 0x82}, + {OV2710_TABLE_WAIT_MS, 5}, + {0x3008, 0x42}, + {OV2710_TABLE_WAIT_MS, 5}, {0x3017, 0x7f}, {0x3018, 0xfc}, @@ -284,6 +291,7 @@ static struct ov2710_reg mode_1280x720[] = { {0x350b, 0x00}, {0x5001, 0x4e}, {0x5000, 0x5f}, + {0x3008, 0x02}, {OV2710_TABLE_END, 0x0000} }; |