Bluetooth: Fix issue with USB suspend in btusb driver
authorChampion Chen <champion_chen@realsil.com.cn>
Sat, 6 Sep 2014 19:06:08 +0000 (14:06 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Sep 2014 01:23:40 +0000 (03:23 +0200)
commit85560c4a828ec9c8573840c9b66487b6ae584768
tree1e228a31513dbf5956e30ba8083794331e0728f0
parente1e930f591bfd9604c3077f0af5c390f4f890259
Bluetooth: Fix issue with USB suspend in btusb driver

Suspend could fail for some platforms because
btusb_suspend==> btusb_stop_traffic ==> usb_kill_anchored_urbs.

When btusb_bulk_complete returns before system suspend and resubmits
an URB, the system cannot enter suspend state.

Signed-off-by: Champion Chen <champion_chen@realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org
drivers/bluetooth/btusb.c
This page took 0.024334 seconds and 5 git commands to generate.