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

FROMGIT: Bluetooth: btusb: Use the cmd_timeout method to reset the Intel BT chip



If the platform provides it, use the reset gpio to reset the Intel BT
chip, as part of cmd_timeout handling. This has been found helpful on
Intel bluetooth controllers where the firmware gets stuck and the only
way out is a hard reset pin provided by the platform.

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


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