This is a note to let you know that I've just added the patch titled Bluetooth: hci_qca: check for SSR triggered flag while suspend to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: bluetooth-hci_qca-check-for-ssr-triggered-flag-while-suspend.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 1bb0c66332babc5cbc4581d962da0b03af9f23e8 Mon Sep 17 00:00:00 2001 From: Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx> Date: Tue, 2 Feb 2021 20:27:42 +0530 Subject: Bluetooth: hci_qca: check for SSR triggered flag while suspend From: Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx> commit 1bb0c66332babc5cbc4581d962da0b03af9f23e8 upstream. QCA_IBS_DISABLED flag will be set after memorydump started from controller.Currently qca_suspend() is waiting for SSR to complete based on flag QCA_IBS_DISABLED.Added to check for QCA_SSR_TRIGGERED flag too. Fixes: 2be43abac5a8 ("Bluetooth: hci_qca: Wait for timeout during suspend") Signed-off-by: Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/bluetooth/hci_qca.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/bluetooth/hci_qca.c +++ b/drivers/bluetooth/hci_qca.c @@ -2120,7 +2120,8 @@ static int __maybe_unused qca_suspend(st !test_bit(QCA_SSR_TRIGGERED, &qca->flags)) return 0; - if (test_bit(QCA_IBS_DISABLED, &qca->flags)) { + if (test_bit(QCA_IBS_DISABLED, &qca->flags) || + test_bit(QCA_SSR_TRIGGERED, &qca->flags)) { wait_timeout = test_bit(QCA_SSR_TRIGGERED, &qca->flags) ? IBS_DISABLE_SSR_TIMEOUT_MS : FW_DOWNLOAD_TIMEOUT_MS; Patches currently in stable-queue which might be from gubbaven@xxxxxxxxxxxxxx are queue-5.10/bluetooth-hci_qca-fixed-issue-during-suspend.patch queue-5.10/bluetooth-hci_qca-wait-for-ssr-completion-during-suspend.patch queue-5.10/bluetooth-hci_qca-wait-for-timeout-during-suspend.patch queue-5.10/bluetooth-hci_qca-check-for-ssr-triggered-flag-while-suspend.patch