Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8bfe868 authored by Ian W MORRISON's avatar Ian W MORRISON Committed by Marcel Holtmann
Browse files

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: default avatarIan W MORRISON <ianwmorrison@gmail.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent b49ef29d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}