Commit c1f92e70 authored by Rajat Jain's avatar Rajat Jain Committed by chrome-bot
Browse files

FROMGIT: Bluetooth: btusb: btusb_intel_cmd_timeout: use sleeping functions



The btusb_intel_cmd_timeout() is called from workqueue contexts,
so use the helper functions that can sleep.

Signed-off-by: default avatarRajat Jain <rajatja@google.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
(cherry picked from commit 2de66bb8
 git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master)

BUG=b:80089559
TEST=Test by simulating BT timeouts by instrumenting the kernel

Change-Id: I981a741e356b225bc5eae58792ae4caa44de66c0
Reviewed-on: https://chromium-review.googlesource.com/1443811


Commit-Ready: Rajat Jain <rajatja@chromium.org>
Tested-by: default avatarRajat Jain <rajatja@chromium.org>
Reviewed-by: default avatarFurquan Shaikh <furquan@chromium.org>
parent c52890a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment