android-alarm: find the rtc wakeup offender
authorLouis Li <louli@nvidia.com>
Thu, 17 Jan 2013 04:10:35 +0000 (12:10 +0800)
committerHarry Hong <hhong@nvidia.com>
Thu, 31 Oct 2013 07:35:21 +0000 (00:35 -0700)
commitc309f1ee39e32b1bf4441791b389db70be7f168f
tree1be269d5a4e4361191d5f20aefc3b915ad5058b2
parent01d614c1b1c8ce0be5c210c2a06e13bc1bda25c5
android-alarm: find the rtc wakeup offender

if device is waken up by RTC chip, then set a flag in the return value
of alarm_ioctl.

Bug 1190908

Change-Id: I7b3f40b004848707fc76916e75eb69976eef5c38
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/191885
(cherry picked from commit 9c9b62ac1bd2a0acccda9a2c7e88c4495bcca4e0)
Reviewed-on: http://git-master/r/253331
(cherry picked from commit 176826f9b0fcabcb7d12f3d01e52f61cbea8e862)
Reviewed-on: http://git-master/r/309383
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jiukai Ma <jiukaim@nvidia.com>
Tested-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>
drivers/staging/android/alarm-dev.c
drivers/staging/android/android_alarm.h