kernel: refresh patches on linux 3.18
[openwrt/svn-archive/archive.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 --- a/drivers/usb/core/hub.c
12 +++ b/drivers/usb/core/hub.c
13 @@ -4907,7 +4907,7 @@ static void port_event(struct usb_hub *h
14 if (portchange & USB_PORT_STAT_C_OVERCURRENT) {
15 u16 status = 0, unused;
16
17 - dev_dbg(&port_dev->dev, "over-current change\n");
18 + dev_notice(&port_dev->dev, "over-current change\n");
19 usb_clear_port_feature(hdev, port1,
20 USB_PORT_FEAT_C_OVER_CURRENT);
21 msleep(100); /* Cool down */