]> git.proxmox.com Git - mirror_ubuntu-focal-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)
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 <oneukum@suse.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c