media: video: tegra: ov5650: fixing exposure blip
authorChien-Yu Chen <chichen@nvidia.com>
Tue, 31 Aug 2010 20:45:09 +0000 (13:45 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:51:27 +0000 (16:51 -0700)
commitc3b9e22802a361220130f22ffbc77e42b225d83c
tree57d60c2a45dafa6a33bb308e37cffe624e69f608
parentacf1248b634dbc5336a56e36eb45d0428954013f
media: video: tegra: ov5650: fixing exposure blip

When changing mode, also program frame length, coarse time,
and gain so it can keep the same exposure value. Without this
API change, exposure time and gain will be reset to the default
values in the mode table and the image brightness may change
suddenly.

Change-Id: I82fe8a7d838a041b27af7dd6b9b3d27030318456
drivers/media/video/tegra/ov5650.c [changed mode: 0644->0755]
include/media/ov5650.h