summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorDeepesh Gujarathi <dgujarathi@nvidia.com>2011-01-11 15:51:00 +0530
committerBharat Nihalani <bnihalani@nvidia.com>2011-01-12 05:49:13 -0800
commit0f04e9f691396f4d1e4288fff91ae8f5862dbba3 (patch)
treeba1a9e003868b86b219b73c2f6099ac48c858c28 /drivers/rtc
parentfaee24b8ccfded64fd3baf5ba5cf7ee570cfeb5e (diff)
alarm: disable rtc alarm suspend/resume handlers
This is a temporary WAR to avoid the undesired "RTC wakeup" issue. The original source of the problem seems to be in userspace. But use this WAR till we find a proper fix. Bug 773133 Change-Id: I20930056f9a33f539699e777ec9ae45bb4bac34f Reviewed-on: http://git-master/r/15487 Reviewed-by: Deepesh Subhash Gujarathi (Engrg-Mobile) <dgujarathi@nvidia.com> Tested-by: Deepesh Subhash Gujarathi (Engrg-Mobile) <dgujarathi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/rtc')
-rwxr-xr-x[-rw-r--r--]drivers/rtc/alarm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/alarm.c b/drivers/rtc/alarm.c
index 1250edfbdf33..45be9101a1d8 100644..100755
--- a/drivers/rtc/alarm.c
+++ b/drivers/rtc/alarm.c
@@ -515,8 +515,8 @@ static struct class_interface rtc_alarm_interface = {
};
static struct platform_driver alarm_driver = {
- .suspend = alarm_suspend,
- .resume = alarm_resume,
+ .suspend = NULL,
+ .resume = NULL,
.driver = {
.name = "alarm"
}