diff options
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-twl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c index 18e4c0138a40..cedb6c145fc4 100644 --- a/drivers/rtc/rtc-twl.c +++ b/drivers/rtc/rtc-twl.c | |||
@@ -384,7 +384,7 @@ static irqreturn_t twl_rtc_interrupt(int irq, void *rtc) | |||
384 | else | 384 | else |
385 | events |= RTC_IRQF | RTC_UF; | 385 | events |= RTC_IRQF | RTC_UF; |
386 | 386 | ||
387 | res = twl_rtc_write_u8(rd_reg | BIT_RTC_STATUS_REG_ALARM_M, | 387 | res = twl_rtc_write_u8(BIT_RTC_STATUS_REG_ALARM_M, |
388 | REG_RTC_STATUS_REG); | 388 | REG_RTC_STATUS_REG); |
389 | if (res) | 389 | if (res) |
390 | goto out; | 390 | goto out; |