All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: Marcel Holtmann <marcel@holtmann.org>,
	Johan Hedberg <johan.hedberg@gmail.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Frederic Danis <frederic.danis.oss@gmail.com>,
	Loic Poulain <loic.poulain@linaro.org>,
	Hans de Goede <hdegoede@redhat.com>, Max Shavrick <mxms@me.com>,
	Leif Liddy <leif.liddy@gmail.com>,
	Daniel Roschka <danielroschka@phoenitydawn.de>,
	Ronald Tschalaer <ronald@innovation.ch>,
	"Peter Y. Chuang" <peteryuchuang@gmail.com>,
	linux-bluetooth@vger.kernel.org
Subject: [PATCH v4 11/13] Bluetooth: hci_bcm: Silence IRQ printk
Date: Wed, 10 Jan 2018 16:32:10 +0100	[thread overview]
Message-ID: <c034c2e0e8ab90b90067d65c67a15e0dc85848cf.1515593773.git.lukas@wunner.de> (raw)
In-Reply-To: <cover.1515593773.git.lukas@wunner.de>

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>
---
 drivers/bluetooth/hci_bcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index 3e818a429fc5..0929a264bffa 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -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;
 }
 
-- 
2.15.1

  parent reply	other threads:[~2018-01-10 15:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10 15:32 [PATCH v4 00/13] Bluetooth on 2015+ MacBook (Pro) Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 01/13] Bluetooth: hci_bcm: Mandate presence of shutdown and device wake GPIO Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 02/13] Bluetooth: hci_bcm: Validate IRQ before using it Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 03/13] Bluetooth: hci_bcm: Clean up unnecessary #ifdef Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 04/13] Bluetooth: hci_bcm: Fix race on close Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 07/13] Bluetooth: hci_bcm: Document struct bcm_device Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 12/13] Bluetooth: hci_bcm: Sleep instead of spinning Lukas Wunner
2018-01-10 15:32 ` Lukas Wunner [this message]
2018-01-10 15:32 ` [PATCH v4 08/13] Bluetooth: hci_bcm: Add callbacks to toggle GPIOs Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 13/13] Bluetooth: btbcm: Fix sleep mode struct ordering Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 05/13] Bluetooth: hci_bcm: Fix unbalanced pm_runtime_disable() Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 06/13] Bluetooth: hci_bcm: Invalidate IRQ on request failure Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 09/13] Bluetooth: hci_bcm: Handle errors properly Lukas Wunner
2018-01-10 15:32 ` [PATCH v4 10/13] Bluetooth: hci_bcm: Support Apple GPIO handling Lukas Wunner
2018-01-10 18:02 ` [PATCH v4 00/13] Bluetooth on 2015+ MacBook (Pro) Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c034c2e0e8ab90b90067d65c67a15e0dc85848cf.1515593773.git.lukas@wunner.de \
    --to=lukas@wunner.de \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=danielroschka@phoenitydawn.de \
    --cc=frederic.danis.oss@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=johan.hedberg@gmail.com \
    --cc=leif.liddy@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=loic.poulain@linaro.org \
    --cc=marcel@holtmann.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=mxms@me.com \
    --cc=peteryuchuang@gmail.com \
    --cc=ronald@innovation.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.