Bluetooth: hci_qca: Bug fixes for SSR
authorVenkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Sat, 11 Jul 2020 11:31:12 +0000 (17:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:23:39 +0000 (08:23 +0200)
commitc5201aabe493478a6fe3397bb5dab405de325d5f
tree53a0eb9e5ff8b80913d89b4da1eb82f49086bdc8
parent181740eddae2ce9c69474ff61ce324a1779533e5
Bluetooth: hci_qca: Bug fixes for SSR

[ Upstream commit 3344537f614b966f726c1ec044d1c70a8cabe178 ]

1.During SSR for command time out if BT SoC goes to inresponsive
state, power cycling of BT SoC was not happening. Given the fix by
sending hw error event to reset the BT SoC.

2.If SSR is triggered then ignore the transmit data requests to
BT SoC until SSR is completed.

Signed-off-by: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/hci_qca.c