Bluetooth: btusb: Use the cmd_timeout method to reset the Intel BT chip
authorRajat Jain <rajatja@google.com>
Thu, 24 Jan 2019 23:28:14 +0000 (15:28 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 25 Jan 2019 07:46:34 +0000 (08:46 +0100)
commitdc786b2c2c1bc0730ab88e403c33de0989da7f48
treeb377640dd2fcf2dad5eef5593c5e3ad1a657d014
parente2bef3847e3d0d57dcf316de50c4b1a5a91816b7
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: Rajat Jain <rajatja@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c