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

FROMGIT: Bluetooth: Allow driver specific cmd timeout handling



Add a hook to allow the BT driver to do device or command specific
handling in case of timeouts. This is to be used by Intel driver to
reset the device after certain number of timeouts.

Signed-off-by: default avatarRajat Jain <rajatja@google.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
(cherry picked from commit e2bef384
 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: I9a3b1e17c492a4fd1e2bc93cb73df97d278c2a6c
Reviewed-on: https://chromium-review.googlesource.com/1435751


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