]> 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)
commit7e96349f3d86d3bbd50df9098cec3a228ca3b016
tree79a0a3698ba6db05e75749109284544998c343a6
parentb7d4704e4d6d4090cbdda1a4de4f383127c92421
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