diff options
author | Ian W MORRISON <ianwmorrison@gmail.com> | 2017-10-07 17:16:08 +1100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-10-09 20:03:19 +0200 |
commit | e8bfe868cf2cf364f3f52df8fa01aa6d28927aaf (patch) | |
tree | cdb2883a061bf110d24de3917dfe9f384d1ec435 | |
parent | b49ef29d72bd2975b8b2cc84b1fa6b40aa2edd5f (diff) | |
download | op-kernel-dev-e8bfe868cf2cf364f3f52df8fa01aa6d28927aaf.zip op-kernel-dev-e8bfe868cf2cf364f3f52df8fa01aa6d28927aaf.tar.gz |
Bluetooth: hci_bcm: Correct context of IRQ polarity message
As the overwriting of IRQ polarity to active low occurs during the driver
probe using 'bt_dev_warn' to display the warning results in '(null)' being
displayed for the device. This patch uses 'dev_warn' to correctly display
the device in the warning instead.
Signed-off-by: Ian W MORRISON <ianwmorrison@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | drivers/bluetooth/hci_bcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index ab1455e..d9d0fc0 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -832,7 +832,7 @@ static int bcm_acpi_probe(struct bcm_device *dev) dmi_id = dmi_first_match(bcm_active_low_irq_dmi_table); if (dmi_id) { - bt_dev_warn(dev, "%s: Overwriting IRQ polarity to active low", + dev_warn(dev->dev, "%s: Overwriting IRQ polarity to active low", dmi_id->ident); dev->irq_active_low = true; } |