atomisp: mt9e013: fix fuseid read operation
authorDavid Cohen <david.a.cohen@intel.com>
Mon, 16 Apr 2012 10:46:47 +0000 (13:46 +0300)
committerbuildbot <buildbot@intel.com>
Wed, 25 Apr 2012 09:41:26 +0000 (02:41 -0700)
commit7819a60fe68c30f11eb66176e5ab694e71f7b4fe
tree4c48de62447f54cddc121bb8d41d1425d048b77f
parent9fb774024e6a6b2447b262840d92caceea68dbbd
atomisp: mt9e013: fix fuseid read operation

BZ: 33398

mt9e013 driver's function used to read an array of registers is used by
OTP and FUSEID read operations. But due to bug, that function was
ignoring addr argument and hardcoding OTP read registers.

This patch fixed such function to provide correct fuseid values.

Change-Id: I2a0e81da3a724dfb0a933633e294e450e9facc42
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/43567
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>
drivers/media/video/mt9e013.c