diff mbox series

[RESEND,v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup

Message ID 1653646543-349-1-git-send-email-quic_saluvala@quicinc.com
State Accepted
Commit 9271cf2ecc9a0b999ce779736b2cf599c5c74466
Headers show
Series [RESEND,v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup | expand

Commit Message

Sai Teja Aluvala May 27, 2022, 10:15 a.m. UTC
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@quicinc.com>
---
 drivers/bluetooth/hci_qca.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

bluez.test.bot@gmail.com May 27, 2022, 11:07 a.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=645563

---Test result---

Test Summary:
CheckPatch                    PASS      1.32 seconds
GitLint                       PASS      0.75 seconds
SubjectPrefix                 PASS      0.59 seconds
BuildKernel                   PASS      31.43 seconds
BuildKernel32                 PASS      28.44 seconds
Incremental Build with patchesPASS      38.58 seconds
TestRunner: Setup             PASS      480.41 seconds
TestRunner: l2cap-tester      PASS      17.34 seconds
TestRunner: bnep-tester       PASS      5.93 seconds
TestRunner: mgmt-tester       PASS      101.94 seconds
TestRunner: rfcomm-tester     PASS      9.54 seconds
TestRunner: sco-tester        PASS      9.29 seconds
TestRunner: smp-tester        PASS      9.36 seconds
TestRunner: userchan-tester   PASS      6.34 seconds



---
Regards,
Linux Bluetooth
patchwork-bot+bluetooth@kernel.org May 31, 2022, 9:20 p.m. UTC | #2
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Fri, 27 May 2022 15:45:43 +0530 you wrote:
> 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@quicinc.com>
> ---
>  drivers/bluetooth/hci_qca.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [RESEND,v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup
    https://git.kernel.org/bluetooth/bluetooth-next/c/9271cf2ecc9a

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index eab34e2..8df1101 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)