aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/dtl1_cs.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-02-05 12:16:39 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-02-05 12:16:39 +0900
commit8e04221029067cbaff3fc8f4daf991532afbcbaf (patch)
tree18cf757bcd315c76f5f458aa72a0a57db0a78985 /drivers/bluetooth/dtl1_cs.c
parent9ad62ec4f752c82b39aa5927f23d894b46ae10b9 (diff)
parent2c940db250c1610d95ea5331dc819b8bd4db96ae (diff)
downloadkernel_samsung_aries-8e04221029067cbaff3fc8f4daf991532afbcbaf.zip
kernel_samsung_aries-8e04221029067cbaff3fc8f4daf991532afbcbaf.tar.gz
kernel_samsung_aries-8e04221029067cbaff3fc8f4daf991532afbcbaf.tar.bz2
Merge branch 'sh/stable-updates'
Diffstat (limited to 'drivers/bluetooth/dtl1_cs.c')
-rw-r--r--drivers/bluetooth/dtl1_cs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c
index 4f02a6f..6975919 100644
--- 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;