summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-12-07 10:03:44 -0800
committermattis fjallstrom <mattis@acm.org>2015-12-11 16:10:20 -0800
commitee0c12747d3ed7c479b0cb77d83e065138ed1559 (patch)
tree7d507b781be3bd846f7da6c5a660191dd611cf11
parent06b1976074548242b33bba2cec89c219fbb442af (diff)
downloadolio-linux-3.10-ee0c12747d3ed7c479b0cb77d83e065138ed1559.tar.xz
olio-linux-3.10-ee0c12747d3ed7c479b0cb77d83e065138ed1559.zip
Reducing time for alarm wake lock, from 2sec to .5.
Change-Id: Ie2703e22e6ee5b8d28cb8cfabe6fc8aa5df8bc2f
-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;