]> git.baikalelectronics.ru Git - kernel.git/commit
usbcore: don't log on consecutive debounce failures of the same port
authorOliver Neukum <oneukum@suse.de>
Mon, 14 Jul 2014 13:39:49 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 23:18:10 +0000 (16:18 -0700)
commit25092cdc9a33b238569b44abf326e6ab9e754205
treec6a9f62adeaeb9e8208b1d1f1e40724aa4bddc32
parent936ac1829298e1f6f45c9c6e3f22a17d619cf95c
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 <oneukum@suse.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c