This is a note to let you know that I've just added the patch titled Bluetooth: hci_qca: Return wakeup for qca_wakeup to the 5.18-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-return-wakeup-for-qca_wakeup.patch and it can be found in the queue-5.18 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From bde63e9effd3a6ba384707c62abe46c32d22f665 Mon Sep 17 00:00:00 2001 From: Sai Teja Aluvala <quic_saluvala@xxxxxxxxxxx> Date: Fri, 27 May 2022 15:45:43 +0530 Subject: Bluetooth: hci_qca: Return wakeup for qca_wakeup From: Sai Teja Aluvala <quic_saluvala@xxxxxxxxxxx> commit bde63e9effd3a6ba384707c62abe46c32d22f665 upstream. This fixes the return value of qca_wakeup(), since .wakeup work inversely with original .prevent_wake. Fixes: 4539ca67fe8ed (Bluetooth: Rename driver .prevent_wake to .wakeup) Signed-off-by: Sai Teja Aluvala <quic_saluvala@xxxxxxxxxxx> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/bluetooth/hci_qca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index eab34e24d944..8df11016fd51 100644 --- a/drivers/bluetooth/hci_qca.c +++ b/drivers/bluetooth/hci_qca.c @@ -1588,7 +1588,7 @@ static bool qca_wakeup(struct hci_dev *hdev) wakeup = device_may_wakeup(hu->serdev->ctrl->dev.parent); bt_dev_dbg(hu->hdev, "wakeup status : %d", wakeup); - return !wakeup; + return wakeup; } static int qca_regulator_init(struct hci_uart *hu) -- 2.37.1 Patches currently in stable-queue which might be from quic_saluvala@xxxxxxxxxxx are queue-5.18/bluetooth-hci_qca-return-wakeup-for-qca_wakeup.patch