summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorP33M <P33M@github.com>2014-07-24 21:24:03 +0100
committerpopcornmix <popcornmix@gmail.com>2015-05-18 14:11:13 +0100
commitf9a921c3fd709db9c77552eed0d6ed31dd203722 (patch)
tree168836a292ef4969a7d98a05b51f9c28560c925b
parentbec4d9d9cea8220ece40ba0b20f5954b50d268fa (diff)
downloadlinux-f9a921c3fd709db9c77552eed0d6ed31dd203722.tar.gz
usb: core: make overcurrent messages more prominent
Hub overcurrent messages are more serious than "debug". Increase loglevel.
-rw-r--r--drivers/usb/core/hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 3b7151687776..8324c14145d6 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -4922,7 +4922,7 @@ static void port_event(struct usb_hub *hub, int port1)
if (portchange & USB_PORT_STAT_C_OVERCURRENT) {
u16 status = 0, unused;
- dev_dbg(&port_dev->dev, "over-current change\n");
+ dev_notice(&port_dev->dev, "over-current change\n");
usb_clear_port_feature(hdev, port1,
USB_PORT_FEAT_C_OVER_CURRENT);
msleep(100); /* Cool down */