Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2] bluetooth: pm: use SIMPLE_DEV_OPS for pm struct
@ 2026-08-19  6:23 Li Jun
  2026-08-19  7:01 ` [v2] " bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Li Jun @ 2026-08-19  6:23 UTC (permalink / raw)
  To: lijun01, marcel, luiz.dentz, linux-bluetooth

use SIMPLE_DEV_PM_OPS for btmrvl_sdio_pm_ops,and add the value of
.freeze .thaw .poweroff .restore.if these address are null, may cause
error in s4.

Signed-off-by: Li Jun <lijun01@kylinos.cn>
---
 drivers/bluetooth/btmrvl_sdio.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index b91fc63bc9fe..197237e78a3c 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -1726,10 +1726,7 @@ static int btmrvl_sdio_resume(struct device *dev)
 	return 0;
 }
 
-static const struct dev_pm_ops btmrvl_sdio_pm_ops = {
-	.suspend	= btmrvl_sdio_suspend,
-	.resume		= btmrvl_sdio_resume,
-};
+SIMPLE_DEV_PM_OPS(btmrvl_sdio_pm_ops, btmrvl_sdio_suspend, btmrvl_sdio_resume);
 
 static struct sdio_driver bt_mrvl_sdio = {
 	.name		= "btmrvl_sdio",
-- 
2.25.1


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

* RE: [v2] bluetooth: pm: use SIMPLE_DEV_OPS for pm struct
  2026-08-19  6:23 [PATCH v2] bluetooth: pm: use SIMPLE_DEV_OPS for pm struct Li Jun
@ 2026-08-19  7:01 ` bluez.test.bot
  0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2026-08-19  7:01 UTC (permalink / raw)
  To: linux-bluetooth, lijun01

[-- Attachment #1: Type: text/plain, Size: 1348 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=1148228

---Test result---

Test Summary:
CheckPatch                    PASS      0.55 seconds
VerifyFixes                   PASS      0.08 seconds
VerifySignedoff               PASS      0.08 seconds
GitLint                       PASS      1.00 seconds
SubjectPrefix                 FAIL      7.84 seconds
BuildKernel                   PASS      27.53 seconds
CheckAllWarning               PASS      29.91 seconds
CheckSparse                   PASS      28.75 seconds
BuildKernel32                 PASS      26.36 seconds
CheckKernelLLVM               SKIP      0.00 seconds
TestRunnerSetup               PASS      500.74 seconds
IncrementalBuild              PASS      26.07 seconds

Details
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: CheckKernelLLVM - SKIP
Desc: Build kernel with LLVM + context analysis
Output:
Clang not found


https://github.com/bluez/bluetooth-next/pull/613

---
Regards,
Linux Bluetooth


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

end of thread, other threads:[~2026-08-19  7:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19  6:23 [PATCH v2] bluetooth: pm: use SIMPLE_DEV_OPS for pm struct Li Jun
2026-08-19  7:01 ` [v2] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox