cdc-acm: introduce a cool down
authorOliver Neukum <oneukum@suse.com>
Wed, 15 Apr 2020 15:13:58 +0000 (17:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2020 14:34:54 +0000 (16:34 +0200)
commitb6b492d46a2eeb710427fd968cc74a013dab92ca
tree52e8cfada99d5d004bc87746614e48923c43ea5b
parent9d76d7a8e9e0aa93b1d02aa240c2300615184553
cdc-acm: introduce a cool down

commit a4e7279cd1d19f48f0af2a10ed020febaa9ac092 upstream.

Immediate submission in case of a babbling device can lead
to a busy loop. Introducing a delayed work.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Tested-by: Jonas Karlsson <jonas.karlsson@actia.se>
Link: https://lore.kernel.org/r/20200415151358.32664-2-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c
drivers/usb/class/cdc-acm.h