diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2019-02-28 10:28:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-29 07:34:32 -0400 |
commit | 9b9ea7c2b57a0c9c3341fc6db039d1f7971a432e (patch) | |
tree | f96fd8cf9c5af59b037843b3d934513eca1ca892 /drivers/staging/media | |
parent | 122d0e8dd050cc5dc3fb9e9b5f2dee3c5276ce35 (diff) | |
download | linux-9b9ea7c2b57a0c9c3341fc6db039d1f7971a432e.tar.bz2 |
media: gspca: Kill URBs on USB device disconnect
In order to prevent ISOC URBs from being infinitely resubmitted,
the driver's USB disconnect handler must kill all the in-flight URBs.
While here, change the URB packet status message to a debug level,
to avoid spamming the console too much.
This commit fixes a lockup caused by an interrupt storm coming
from the URB completion handler.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media')
0 files changed, 0 insertions, 0 deletions