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:Rajat Jain <rajatja@google.com> Signed-off-by:
Marcel 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:
Rajat Jain <rajatja@chromium.org> Reviewed-by:
Dmitry Torokhov <dtor@chromium.org> Reviewed-by:
Furquan Shaikh <furquan@chromium.org>
Loading
Please sign in to comment