X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Frtc%2Frtc-ds1305.c;h=8f410e59d9f536583c4a1509e65b2ecacd70bbcd;hb=eeaecb8619fb679006ab24a11ed292e37c74703c;hp=fc372df6534b5e93b3296913be692188cd5c1d41;hpb=f8d56f1771e4867acc461146764b4feeb5245669;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git diff --git a/drivers/rtc/rtc-ds1305.c b/drivers/rtc/rtc-ds1305.c index fc372df..8f410e5 100644 --- a/drivers/rtc/rtc-ds1305.c +++ b/drivers/rtc/rtc-ds1305.c @@ -499,10 +499,7 @@ static void ds1305_work(struct work_struct *work) if (!test_bit(FLAG_EXITING, &ds1305->flags)) enable_irq(spi->irq); - /* rtc_update_irq() requires an IRQ-disabled context */ - local_irq_disable(); rtc_update_irq(ds1305->rtc, 1, RTC_AF | RTC_IRQF); - local_irq_enable(); } /*