]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_bcm: Make acpi_probe get irq from ACPI resources
authorHans de Goede <hdegoede@redhat.com>
Wed, 4 Oct 2017 18:43:41 +0000 (20:43 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Oct 2017 18:35:48 +0000 (20:35 +0200)
commitfcdcabafc9c501df98f8e9c068ddbb7fa06613bd
treead27d76301c919aa29bafb6ba2f823953149f9a7
parentc9291e82a622e1f32deb756186c548e9b69311b8
Bluetooth: hci_bcm: Make acpi_probe get irq from ACPI resources

The ACPI subsys is going to move over to instantiating ACPI enumerated
HCIs as serdevs, rather then as platform devices.

So we need to make bcm_acpi_probe() suitable for use on non platform-
devices too, which means that we cannot rely on platform_get_irq()
getting called.

This commit modifies bcm_acpi_probe() to directly get the irq from
the ACPI resources, this is a preparation patch for adding (runtime)pm
support to the serdev path.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c