]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit614f5d9a482d4d7009ef37e8339e1dece1568c03
tree79a0a3698ba6db05e75749109284544998c343a6
parent803a3b7f1ba487af9f760b3c6a35cf2fc5745304
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