Skip to content

Commit e99f3c6

Browse files
Ian W MORRISONjnettlet
authored andcommitted
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>
1 parent 9bf1194 commit e99f3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/bluetooth/hci_bcm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ static int bcm_acpi_probe(struct bcm_device *dev)
832832

833833
dmi_id = dmi_first_match(bcm_active_low_irq_dmi_table);
834834
if (dmi_id) {
835-
bt_dev_warn(dev, "%s: Overwriting IRQ polarity to active low",
835+
dev_warn(dev->dev, "%s: Overwriting IRQ polarity to active low",
836836
dmi_id->ident);
837837
dev->irq_active_low = true;
838838
}

0 commit comments

Comments
 (0)