]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: Redo checks in IRQ handler for shared IRQ support
authorMike Frysinger <vapier@gentoo.org>
Mon, 14 Sep 2009 17:43:49 +0000 (13:43 -0400)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 30 Jan 2010 13:57:26 +0000 (05:57 -0800)
commit7427847d2d044d85f478757ea03165ae3cfe87c4
tree17c2da9c5dc61ccf4151065483a0751eb26f8dd8
parente420aba331f44de0eed6871441293a6124d566d1
Bluetooth: Redo checks in IRQ handler for shared IRQ support

Commit ac019360fe3 changed the irq handler logic to BUG_ON rather than
returning IRQ_NONE when the incoming argument is invalid.  While this
works in most cases, it doesn't work when the IRQ is shared with other
devices (or when DEBUG_SHIRQ is enabled).

So revert the previous change and replace the warning message with a
comment explaining that we want this behavior.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/bluecard_cs.c
drivers/bluetooth/bt3c_cs.c
drivers/bluetooth/btuart_cs.c
drivers/bluetooth/dtl1_cs.c