[PORT FROM R2] mt9e013: Add runtime check for old vs new VCM
authorJozef Kruger <jozef.kruger@intel.com>
Thu, 12 Jan 2012 23:31:38 +0000 (15:31 -0800)
committerbuildbot <buildbot@intel.com>
Fri, 20 Jan 2012 19:08:33 +0000 (11:08 -0800)
commit2980395ff2dd9af45430e4c2cb9b3a67310c727b
treee97416c9d925db812039d15054293b513a62599c
parent102e668b878d0514fc9a9633ddc362d2d0779c16
[PORT FROM R2] mt9e013: Add runtime check for old vs new VCM

BZ: 20773

ORIG_BZ: 11145

This patch adds a check that uses the IFWI (firmware) version to determine
whether the VCM maintains focus position when the sensor module is put into
standby mode or not. This is a temporary feature that is needed as long as
prototype phones (earlier than PR3.3) are still being used. After those have
been phased out completely, this check can be removed.

Change-Id: I21b130e9a029d33f468a30f8f3f53b34c2cfc5b7
Orig-Change-Id: I5f2dd8545574f8e5d20c489fc3cfd357dc9611c1
Signed-off-by: Jozef Kruger <jozef.kruger@intel.com>
Reviewed-on: http://android.intel.com:8080/31764
Reviewed-by: Jong-a-lock, Robert <robert.jong-a-lock@intel.com>
Reviewed-by: Samurov, Vitali <vitali.samurov@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/32602
Reviewed-by: Lampila, KalleX <kallex.lampila@intel.com>
drivers/media/video/mt9e013.c
drivers/media/video/mt9e013.h