Bluetooth: hci_bcm: Silence IRQ printk
authorLukas Wunner <lukas@wunner.de>
Wed, 10 Jan 2018 15:32:10 +0000 (16:32 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 10 Jan 2018 18:00:13 +0000 (19:00 +0100)
The host wake IRQ is optional, but if none is found, "BCM irq: -22" is
logged which may irritate users.  This is really a debug message, so use
dev_dbg() instead of dev_info().  If users are interested in the IRQ,
they can always consult /proc/interrupts.

Cc: Frédéric Danis <frederic.danis.oss@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c

index 3e818a4..0929a26 100644 (file)
@@ -943,7 +943,7 @@ static int bcm_get_resources(struct bcm_device *dev)
                dev->irq = gpiod_to_irq(gpio);
        }
 
-       dev_info(dev->dev, "BCM irq: %d\n", dev->irq);
+       dev_dbg(dev->dev, "BCM irq: %d\n", dev->irq);
        return 0;
 }