linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup
@ 2022-05-27 10:15 Sai Teja Aluvala
  2022-05-27 11:07 ` [RESEND,v1] " bluez.test.bot
  2022-05-31 21:20 ` [RESEND v1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Sai Teja Aluvala @ 2022-05-27 10:15 UTC (permalink / raw)
  To: marcel, johan.hedberg, luiz.dentz
  Cc: mka, linux-kernel, linux-bluetooth, quic_hemantg, quic_bgodavar,
	quic_rjliao, quic_hbandi, abhishekpandit, mcchou,
	Sai Teja Aluvala

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(-)

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)
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc.


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [RESEND,v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup
  2022-05-27 10:15 [RESEND v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup Sai Teja Aluvala
@ 2022-05-27 11:07 ` bluez.test.bot
  2022-05-31 21:20 ` [RESEND v1] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2022-05-27 11:07 UTC (permalink / raw)
  To: linux-bluetooth, quic_saluvala

[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RESEND v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup
  2022-05-27 10:15 [RESEND v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup Sai Teja Aluvala
  2022-05-27 11:07 ` [RESEND,v1] " bluez.test.bot
@ 2022-05-31 21:20 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2022-05-31 21:20 UTC (permalink / raw)
  To: Sai Teja Aluvala
  Cc: marcel, johan.hedberg, luiz.dentz, mka, linux-kernel,
	linux-bluetooth, quic_hemantg, quic_bgodavar, quic_rjliao,
	quic_hbandi, abhishekpandit, mcchou

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-31 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-27 10:15 [RESEND v1] Bluetooth: hci_qca: Return wakeup for qca_wakeup Sai Teja Aluvala
2022-05-27 11:07 ` [RESEND,v1] " bluez.test.bot
2022-05-31 21:20 ` [RESEND v1] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).