From 0f04e9f691396f4d1e4288fff91ae8f5862dbba3 Mon Sep 17 00:00:00 2001 From: Deepesh Gujarathi Date: Tue, 11 Jan 2011 15:51:00 +0530 Subject: 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) Tested-by: Deepesh Subhash Gujarathi (Engrg-Mobile) Reviewed-by: Bharat Nihalani --- drivers/rtc/alarm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 drivers/rtc/alarm.c (limited to 'drivers/rtc') diff --git a/drivers/rtc/alarm.c b/drivers/rtc/alarm.c old mode 100644 new mode 100755 index 1250edfbdf33..45be9101a1d8 --- 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" } -- cgit v1.2.3