diff options
Diffstat (limited to 'drivers/rtc/rtc-ds1307.c')
-rw-r--r-- | drivers/rtc/rtc-ds1307.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index 8a6f9a9f9cb8..47a93c022d91 100644 --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c | |||
@@ -267,12 +267,7 @@ static void ds1307_work(struct work_struct *work) | |||
267 | control &= ~DS1337_BIT_A1IE; | 267 | control &= ~DS1337_BIT_A1IE; |
268 | i2c_smbus_write_byte_data(client, DS1337_REG_CONTROL, control); | 268 | i2c_smbus_write_byte_data(client, DS1337_REG_CONTROL, control); |
269 | 269 | ||
270 | /* rtc_update_irq() assumes that it is called | ||
271 | * from IRQ-disabled context. | ||
272 | */ | ||
273 | local_irq_disable(); | ||
274 | rtc_update_irq(ds1307->rtc, 1, RTC_AF | RTC_IRQF); | 270 | rtc_update_irq(ds1307->rtc, 1, RTC_AF | RTC_IRQF); |
275 | local_irq_enable(); | ||
276 | } | 271 | } |
277 | 272 | ||
278 | out: | 273 | out: |