usbcore: don't log on consecutive debounce failures of the same port
authorOliver Neukum <[email protected]>
Mon, 14 Jul 2014 13:39:49 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <[email protected]>
Fri, 18 Jul 2014 23:18:10 +0000 (16:18 -0700)
commit5ee0f803cc3a0738a63288e4a2f453c85889fbda
treec6a9f62adeaeb9e8208b1d1f1e40724aa4bddc32
parent934ef5aca9daea10507eebcbd0fb8f6d57d55359
usbcore: don't log on consecutive debounce failures of the same port

Some laptops have an internal port for a BT device which picks
up noise when the kill switch is used, but not enough to trigger
printk_rlimit(). So we shouldn't log consecutive faults of this kind.

Signed-off-by: Oliver Neukum <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/core/hub.c