Bluetooth: btintel_pcie: Define hdev->wakeup() callback
PATCH 1/1 Bluetooth: btintel_pcie: Define hdev->wakeup() callback
From: Chandrashekar Devegowda <[email protected]>
Implement hdev->wakeup() callback to support Wake On BT feature.
Test steps:
1. echo enabled > /sys/bus/pci/devices/0000:00:14.7/power/wakeup
2. connect bluetooth hid device
3. put the system to suspend - rtcwake -m mem -s 300
4. press any key on hid to wake up the system
--- drivers/bluetooth/btintel_pcie.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/bluetooth/btintel_pcie.c +8 -0
@@ -2416,6 +2416,13 @@ static void btintel_pcie_hw_error(struct hci_dev *hdev, u8 code)btintel_pcie_reset (hdev); } +static bool btintel_pcie_wakeup (struct hci_dev *hdev) +{ +struct btintel_pcie_data *data =hci_get_drvdata (hdev); + +return device_may_wakeup (&data->pdev->dev); +} +static int btintel_pcie_setup_hdev (struct btintel_pcie_data *data) {int err;
@@ -2441,6 +2448,7 @@ static int btintel_pcie_setup_hdev(struct btintel_pcie_data *data) hdev->set_diag = btintel_set_diag; hdev->set_bdaddr = btintel_set_bdaddr; hdev->reset = btintel_pcie_reset; + hdev->wakeup = btintel_pcie_wakeup; err =hci_register_dev (hdev);if (err <0 ) {
Signature · 1 line
2.43.0
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=987331
---Test result---
Test Summary:
CheckPatch PENDING 0.40 seconds GitLint PENDING 0.32 seconds SubjectPrefix PASS 0.07 seconds BuildKernel PASS 25.31 seconds CheckAllWarning PASS 27.56 seconds CheckSparse PASS 31.00 seconds BuildKernel32 PASS 24.33 seconds TestRunnerSetup PASS 485.25 seconds TestRunner_l2cap-tester PASS 25.36 seconds TestRunner_iso-tester PASS 39.63 seconds TestRunner_bnep-tester PASS 6.16 seconds TestRunner_mgmt-tester PASS 127.48 seconds TestRunner_rfcomm-tester PASS 9.87 seconds TestRunner_sco-tester PASS 14.67 seconds TestRunner_ioctl-tester PASS 10.15 seconds TestRunner_mesh-tester FAIL 11.39 seconds TestRunner_smp-tester PASS 8.65 seconds TestRunner_userchan-tester PASS 6.36 seconds IncrementalBuild PENDING 0.72 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner Output:
Total: 10, Passed: 8 (80.0%), Failed: 2, Not Run: 0
Failed Test Cases
Mesh - Send cancel - 1 Timed out 1.908 seconds Mesh - Send cancel - 2 Timed out 1.996 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:
---
Regards,
Linux Bluetooth
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 11 lines · On Thu, 31 Jul 2025 16:47:11 +0530 you wrote:
From: Chandrashekar Devegowda <[email protected]>
Implement
hdev->wakeup()callback to support Wake On BT feature.Test steps:
1. echo enabled > /sys/bus/pci/devices/0000:00:14.7/power/wakeup
2. connect bluetooth hid device
3. put the system to suspend - rtcwake -m mem -s 300
4. press any key on hid to wake up the system[...]
Here is the summary with links:
- [v1] Bluetooth: btintel_pcie: Define hdev->wakeup() callback
https://git.kernel.org/bluetooth/bluetooth-next/c/df18778595f9
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html