[PORT FROM R2] The slew rate of VC motor current rising time has changed.
authorVitali Samurov <vitali.samurov@intel.com>
Mon, 31 Oct 2011 11:57:42 +0000 (13:57 +0200)
committerbuildbot <buildbot@intel.com>
Mon, 19 Dec 2011 13:36:14 +0000 (05:36 -0800)
commit088dcf0a3c2bfcba85e4eea3b2f884b09d37c663
tree89c0b39f17f6a77c5a122a6ffc244b450e397b77
parent4711b31f7c99193935294338daa6fe6b0b4dadcf
[PORT FROM R2] The slew rate of VC motor current rising time has changed.

BZ: 17272

Currently VC motor has '0' in both configuration registers: 'slew_rate' and 'vcm_step_time'.
Therefore a current in the VC motor rises very fast (instantaneous) and it causes a big
mechanical impact to the lens unit, audible as a loud click.

This patch makes VC current rising slope slightly inclined and it makes a lens movement to be
more smooth. Patch should not affect to the speed of AF, because a duration of single Af step
remains the same.

Change-Id: Ibda9f7af5cdd74287bb25ddb83c53fa4dbaf1248
Orig-Change-Id: Ie35b30cafa9848a7175798a3832bd06be511aec8
Signed-off-by: Vitali Samurov <vitali.samurov@intel.com>
Reviewed-on: http://android.intel.com:8080/22776
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/28041
Reviewed-by: Tuominen, TeemuX <teemux.tuominen@intel.com>
drivers/media/video/mt9e013.h