[PORT FROM R2] atomisp: mt9e013: add missing timeout check when requesting OTP data
authorDavid Cohen <david.a.cohen@intel.com>
Tue, 22 Nov 2011 16:34:13 +0000 (18:34 +0200)
committerbuildbot <buildbot@intel.com>
Mon, 19 Dec 2011 13:32:35 +0000 (05:32 -0800)
commitf13dd041adfdaf28a056750d682bf484c388ae00
tree4e7041bcd91d41bdeefcd9f4ca0d807ccd28bce3
parenteb6e489c2e84f777e108a6f465afd19778914e5f
[PORT FROM R2] atomisp: mt9e013: add missing timeout check when requesting OTP data

BZ: 17272

This patch adds missing timeout check when requesting OTP data. Without
this check, timeout may be confused with bad data.

Change-Id: Ic2971ba74cbcc69454302770966e15947b055ada
Orig-Change-Id: I1b562e8e799ff88fa17e614aceb7f6911d003d85
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/24936
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@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/28020
Reviewed-by: Tuominen, TeemuX <teemux.tuominen@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
drivers/media/video/mt9e013.c