Bluetooth: hci_qca: Wait for SSR completion during suspend
authorVenkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Wed, 30 Dec 2020 17:17:08 +0000 (22:47 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 6 Jan 2021 07:47:33 +0000 (08:47 +0100)
commitad3a9c0ec2d2baed936cfdd05870f9d1e1f40e0e
tree39b04ee0f00f0826773f42db099023e0fd580044
parent71f8e707557b9bc25dc90a59a752528d4e7c1cbf
Bluetooth: hci_qca: Wait for SSR completion during suspend

During SSR after memory dump collection,BT controller will be powered off,
powered on and then FW will be downloaded.During suspend if BT controller
is powered off due to SSR then we should wait until SSR is completed and
then suspend.

Fixes: 2be43abac5a8 ("Bluetooth: hci_qca: Wait for timeout during suspend")
Signed-off-by: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c