ltr502als.c: Proximity status check after mode switching in early suspend
BZ: 18010
If proximity status is changed during mode switch, there
may be no interrupt occurred, so we need to check the data
register after mode switching in the early suspend handler.
Change-Id: If0e9948568ce8320ae2efbee3fb4cd0343395b2d
Signed-off-by: Leo Yan <leo.yan@intel.com>
Reviewed-on: http://android.intel.com:8080/28059
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>