summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-12-07 10:03:44 -0800
committerEvan Wilson <evan@oliodevices.com>2015-12-08 20:45:34 -0800
commit932383e2118a7ab2e44cfd8f0c2f14b4ec7ce9a8 (patch)
tree0d7786dfe2f9d0a3e7eab2507dd4928702fd9348
parentb9cc84a1b11987c600855eaa5d5cf4f3f4e3f2cd (diff)
downloadolio-linux-3.10-932383e2118a7ab2e44cfd8f0c2f14b4ec7ce9a8.tar.xz
olio-linux-3.10-932383e2118a7ab2e44cfd8f0c2f14b4ec7ce9a8.zip
Reducing time for alarm wake lock, from 2sec to .5.
Change-Id: Ie2703e22e6ee5b8d28cb8cfabe6fc8aa5df8bc2f Signed-off-by: Evan Wilson <evan@oliodevices.com>
-rw-r--r--drivers/rtc/rtc-tps65910.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c
index 2e4894b4732..a50dd46fd0a 100644
--- a/drivers/rtc/rtc-tps65910.c
+++ b/drivers/rtc/rtc-tps65910.c
@@ -200,7 +200,7 @@ static irqreturn_t tps65910_rtc_interrupt(int irq, void *rtc)
int ret;
u32 rtc_reg;
- wake_lock_timeout(&rtc_wake_lock, msecs_to_jiffies(2000));
+ wake_lock_timeout(&rtc_wake_lock, msecs_to_jiffies(500));
ret = regmap_read(tps->regmap, TPS65910_RTC_STATUS, &rtc_reg);
if (ret)
return IRQ_NONE;