projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Redo checks in IRQ handler for shared IRQ support
[linux-2.6-block.git]
/
drivers
/
bluetooth
/
dtl1_cs.c
diff --git
a/drivers/bluetooth/dtl1_cs.c
b/drivers/bluetooth/dtl1_cs.c
index 4f02a6f3c980b246c1f9f9843d79e51da7cf2af1..697591941e17de3bfd0bb13573c6d3afa7ec6250 100644
(file)
--- a/
drivers/bluetooth/dtl1_cs.c
+++ b/
drivers/bluetooth/dtl1_cs.c
@@
-299,7
+299,9
@@
static irqreturn_t dtl1_interrupt(int irq, void *dev_inst)
int iir, lsr;
irqreturn_t r = IRQ_NONE;
- BUG_ON(!info->hdev);
+ if (!info || !info->hdev)
+ /* our irq handler is shared */
+ return IRQ_NONE;
iobase = info->p_dev->io.BasePort1;