diff options
| -rw-r--r-- | drivers/rtc/rtc-imxdi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 42f5570f42f8..2b475a2c44ce 100644 --- a/drivers/rtc/rtc-imxdi.c +++ b/drivers/rtc/rtc-imxdi.c | |||
| @@ -313,7 +313,7 @@ static irqreturn_t dryice_norm_irq(int irq, void *dev_id) | |||
| 313 | dier = __raw_readl(imxdi->ioaddr + DIER); | 313 | dier = __raw_readl(imxdi->ioaddr + DIER); |
| 314 | 314 | ||
| 315 | /* handle write complete and write error cases */ | 315 | /* handle write complete and write error cases */ |
| 316 | if ((dier & DIER_WCIE)) { | 316 | if (dier & DIER_WCIE) { |
| 317 | /*If the write wait queue is empty then there is no pending | 317 | /*If the write wait queue is empty then there is no pending |
| 318 | operations. It means the interrupt is for DryIce -Security. | 318 | operations. It means the interrupt is for DryIce -Security. |
| 319 | IRQ must be returned as none.*/ | 319 | IRQ must be returned as none.*/ |
| @@ -322,7 +322,7 @@ static irqreturn_t dryice_norm_irq(int irq, void *dev_id) | |||
| 322 | 322 | ||
| 323 | /* DSR_WCF clears itself on DSR read */ | 323 | /* DSR_WCF clears itself on DSR read */ |
| 324 | dsr = __raw_readl(imxdi->ioaddr + DSR); | 324 | dsr = __raw_readl(imxdi->ioaddr + DSR); |
| 325 | if ((dsr & (DSR_WCF | DSR_WEF))) { | 325 | if (dsr & (DSR_WCF | DSR_WEF)) { |
| 326 | /* mask the interrupt */ | 326 | /* mask the interrupt */ |
| 327 | di_int_disable(imxdi, DIER_WCIE); | 327 | di_int_disable(imxdi, DIER_WCIE); |
| 328 | 328 | ||
| @@ -335,7 +335,7 @@ static irqreturn_t dryice_norm_irq(int irq, void *dev_id) | |||
| 335 | } | 335 | } |
| 336 | 336 | ||
| 337 | /* handle the alarm case */ | 337 | /* handle the alarm case */ |
| 338 | if ((dier & DIER_CAIE)) { | 338 | if (dier & DIER_CAIE) { |
| 339 | /* DSR_WCF clears itself on DSR read */ | 339 | /* DSR_WCF clears itself on DSR read */ |
| 340 | dsr = __raw_readl(imxdi->ioaddr + DSR); | 340 | dsr = __raw_readl(imxdi->ioaddr + DSR); |
| 341 | if (dsr & DSR_CAF) { | 341 | if (dsr & DSR_CAF) { |
