]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix 4.14.y bluetooth patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Apr 2018 14:15:12 +0000 (16:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Apr 2018 14:15:12 +0000 (16:15 +0200)
queue-4.14/bluetooth-hci_bcm-treat-interrupt-acpi-resources-as-always-being-active-low.patch

index 85c084be2daa1eead7622d08ac1e58dbc604c5e6..db6c85aeccd4c2a11ede578664b9593e38fe07b8 100644 (file)
@@ -64,7 +64,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                irq = &ares->data.extended_irq;
 -              dev->irq_active_low = irq->polarity == ACPI_ACTIVE_LOW;
 +              if (irq->polarity != ACPI_ACTIVE_LOW)
-+                      dev_info(dev->dev, "ACPI Interrupt resource is active-high, this is usually wrong, treating the IRQ as active-low\n");
++                      dev_info(&dev->pdev->dev, "ACPI Interrupt resource is active-high, this is usually wrong, treating the IRQ as active-low\n");
 +              dev->irq_active_low = true;
                break;