diff options
Diffstat (limited to 'drivers/rtc/rtc-ds1374.c')
-rw-r--r-- | drivers/rtc/rtc-ds1374.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c index 4d32e328f6cd..32b27739ec2a 100644 --- a/drivers/rtc/rtc-ds1374.c +++ b/drivers/rtc/rtc-ds1374.c | |||
@@ -296,12 +296,7 @@ static void ds1374_work(struct work_struct *work) | |||
296 | control &= ~(DS1374_REG_CR_WACE | DS1374_REG_CR_AIE); | 296 | control &= ~(DS1374_REG_CR_WACE | DS1374_REG_CR_AIE); |
297 | i2c_smbus_write_byte_data(client, DS1374_REG_CR, control); | 297 | i2c_smbus_write_byte_data(client, DS1374_REG_CR, control); |
298 | 298 | ||
299 | /* rtc_update_irq() assumes that it is called | ||
300 | * from IRQ-disabled context. | ||
301 | */ | ||
302 | local_irq_disable(); | ||
303 | rtc_update_irq(ds1374->rtc, 1, RTC_AF | RTC_IRQF); | 299 | rtc_update_irq(ds1374->rtc, 1, RTC_AF | RTC_IRQF); |
304 | local_irq_enable(); | ||
305 | } | 300 | } |
306 | 301 | ||
307 | out: | 302 | out: |