aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-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 41400743ce2c..ce6c6a0d44bf 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -2443,7 +2443,7 @@ static void hub_port_connect_change(struct usb_hub *hub, int port1,
2443 2443
2444 if (portchange & USB_PORT_STAT_C_CONNECTION) { 2444 if (portchange & USB_PORT_STAT_C_CONNECTION) {
2445 status = hub_port_debounce(hub, port1); 2445 status = hub_port_debounce(hub, port1);
2446 if (status < 0) { 2446 if (status < 0 && printk_ratelimit()) {
2447 dev_err (hub_dev, 2447 dev_err (hub_dev,
2448 "connect-debounce failed, port %d disabled\n", 2448 "connect-debounce failed, port %d disabled\n",
2449 port1); 2449 port1);