9731401bd8ea700cdeb537bc91d02d8e0010420a
[15.05/openwrt.git] / target / linux / brcm2708 / patches-3.18 / 0055-usb-core-make-overcurrent-messages-more-prominent.patch
1 From 19e17e411eb8eb971ee963f083ec8446dcd0538e Mon Sep 17 00:00:00 2001
2 From: P33M <P33M@github.com>
3 Date: Thu, 24 Jul 2014 21:24:03 +0100
4 Subject: [PATCH 055/114] usb: core: make overcurrent messages more prominent
5
6 Hub overcurrent messages are more serious than "debug". Increase loglevel.
7 ---
8  drivers/usb/core/hub.c | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
12 index b649fef..5f8d914 100644
13 --- a/drivers/usb/core/hub.c
14 +++ b/drivers/usb/core/hub.c
15 @@ -4923,7 +4923,7 @@ static void port_event(struct usb_hub *hub, int port1)
16         if (portchange & USB_PORT_STAT_C_OVERCURRENT) {
17                 u16 status = 0, unused;
18  
19 -               dev_dbg(&port_dev->dev, "over-current change\n");
20 +               dev_notice(&port_dev->dev, "over-current change\n");
21                 usb_clear_port_feature(hdev, port1,
22                                 USB_PORT_FEAT_C_OVER_CURRENT);
23                 msleep(100);    /* Cool down */
24 -- 
25 1.8.3.2
26