diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2014-02-28 14:31:56 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-28 16:13:09 -0800 |
commit | acfadcea2adaa52048c6b3c8a3c75105a5540707 (patch) | |
tree | d846a9a1e898e0d0f4d2bdfe08bc5e5abe8ccf38 /drivers/acpi/video_detect.c | |
parent | 618836cc3478aec3dc9a60488bfd43ca93a322bd (diff) | |
download | linux-acfadcea2adaa52048c6b3c8a3c75105a5540707.tar.gz linux-acfadcea2adaa52048c6b3c8a3c75105a5540707.tar.xz |
usb: wusbcore: fix stranded URB after HWA unplug
This patch adds error checking to the abort request callback to forcibly
clean up the dequeued transfers if the abort request failed. The
wa_complete_remaining_xfer_segs was modified so that it could be used in
this situation as well. This fixes a stranded URB/PNP hang when the HWA
is unplugged while playing audio to a wireless audio device.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi/video_detect.c')
0 files changed, 0 insertions, 0 deletions