aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/whc-rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/uwb/whc-rc.c')
-rw-r--r--drivers/uwb/whc-rc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/uwb/whc-rc.c b/drivers/uwb/whc-rc.c
index 5a93abea6d23..1711deadb114 100644
--- a/drivers/uwb/whc-rc.c
+++ b/drivers/uwb/whc-rc.c
@@ -212,7 +212,6 @@ irqreturn_t whcrc_irq_cb(int irq, void *_whcrc)
212 struct device *dev = &whcrc->umc_dev->dev; 212 struct device *dev = &whcrc->umc_dev->dev;
213 u32 urcsts; 213 u32 urcsts;
214 214
215 d_fnstart(4, dev, "irq %d _whcrc %p)\n", irq, _whcrc);
216 urcsts = le_readl(whcrc->rc_base + URCSTS); 215 urcsts = le_readl(whcrc->rc_base + URCSTS);
217 if (!(urcsts & URCSTS_INT_MASK)) 216 if (!(urcsts & URCSTS_INT_MASK))
218 return IRQ_NONE; 217 return IRQ_NONE;
@@ -221,13 +220,6 @@ irqreturn_t whcrc_irq_cb(int irq, void *_whcrc)
221 d_printf(4, dev, "acked 0x%08x, urcsts 0x%08x\n", 220 d_printf(4, dev, "acked 0x%08x, urcsts 0x%08x\n",
222 le_readl(whcrc->rc_base + URCSTS), urcsts); 221 le_readl(whcrc->rc_base + URCSTS), urcsts);
223 222
224 if (whcrc->uwb_rc == NULL) {
225 if (printk_ratelimit())
226 dev_dbg(dev, "Received interrupt when not yet "
227 "ready!\n");
228 goto out;
229 }
230
231 if (urcsts & URCSTS_HSE) { 223 if (urcsts & URCSTS_HSE) {
232 dev_err(dev, "host system error -- hardware halted\n"); 224 dev_err(dev, "host system error -- hardware halted\n");
233 /* FIXME: do something sensible here */ 225 /* FIXME: do something sensible here */