Bluetooth: hci_bcm: Make bcm_request_irq fail if no IRQ resource
authorLoic Poulain <loic.poulain@gmail.com>
Tue, 4 Jul 2017 10:57:56 +0000 (12:57 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 20 Jul 2017 09:18:35 +0000 (11:18 +0200)
commit98dc77d57169f51d100f8b0cb3e4d1e0911ef7a4
tree79a0a3698ba6db05e75749109284544998c343a6
parent04d8980b4a9ca178be1c703467f2ed4ac0800e90
Bluetooth: hci_bcm: Make bcm_request_irq fail if no IRQ resource

In case of no IRQ resource associated to the bcm_device, requesting
IRQ should return an error in order to not enable low power mgmt.

Signed-off-by: Loic Poulain <loic.poulain@gmail.com>
Reported-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c