X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Frtc%2Frtc-twl4030.c;h=41f66dba4f498eb0a73bf39e34676b0acaa45903;hb=62c21db8dbcb8179cd28466609d6efa5e0eeadbf;hp=53c67c636ce547c9ec09157f4735e187f13a5ab6;hpb=d0558a7c788a2441f227a1b7062cbca6063287a2;p=linux-2.6-omap-h63xx.git diff --git a/drivers/rtc/rtc-twl4030.c b/drivers/rtc/rtc-twl4030.c index 53c67c636ce..41f66dba4f4 100644 --- a/drivers/rtc/rtc-twl4030.c +++ b/drivers/rtc/rtc-twl4030.c @@ -347,6 +347,14 @@ static irqreturn_t twl4030_rtc_interrupt(int irq, void *rtc) int res; u8 rd_reg; +#ifdef CONFIG_LOCKDEP + /* WORKAROUND for lockdep forcing IRQF_DISABLED on us, which + * we don't want and can't tolerate. Although it might be + * friendlier not to borrow this thread context... + */ + local_irq_enable(); +#endif + res = twl4030_rtc_read_u8(&rd_reg, REG_RTC_STATUS_REG); if (res) goto out;