* [PATCH v4] Bluetooth: pm: use SIMPLE_DEV_OPS for pm struct
@ 2026-08-20 0:50 Li Jun
2026-08-20 2:26 ` [v4] " bluez.test.bot
2026-08-20 5:18 ` [PATCH v4] " Uwe Kleine-König
0 siblings, 2 replies; 3+ messages in thread
From: Li Jun @ 2026-08-20 0:50 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..86c8a972abd8 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,
-};
+static 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] 3+ messages in thread
* RE: [v4] Bluetooth: pm: use SIMPLE_DEV_OPS for pm struct
2026-08-20 0:50 [PATCH v4] Bluetooth: pm: use SIMPLE_DEV_OPS for pm struct Li Jun
@ 2026-08-20 2:26 ` bluez.test.bot
2026-08-20 5:18 ` [PATCH v4] " Uwe Kleine-König
1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2026-08-20 2:26 UTC (permalink / raw)
To: linux-bluetooth, lijun01
[-- Attachment #1: Type: text/plain, Size: 1181 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=1148755
---Test result---
Test Summary:
CheckPatch PASS 0.59 seconds
VerifyFixes PASS 0.17 seconds
VerifySignedoff PASS 0.07 seconds
GitLint PASS 0.20 seconds
SubjectPrefix PASS 0.06 seconds
BuildKernel PASS 26.97 seconds
CheckAllWarning PASS 30.09 seconds
CheckSparse PASS 28.37 seconds
BuildKernel32 PASS 26.23 seconds
CheckKernelLLVM SKIP 0.00 seconds
TestRunnerSetup PASS 500.54 seconds
IncrementalBuild PASS 25.26 seconds
Details
##############################
Test: CheckKernelLLVM - SKIP
Desc: Build kernel with LLVM + context analysis
Output:
Clang not found
https://github.com/bluez/bluetooth-next/pull/620
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4] Bluetooth: pm: use SIMPLE_DEV_OPS for pm struct
2026-08-20 0:50 [PATCH v4] Bluetooth: pm: use SIMPLE_DEV_OPS for pm struct Li Jun
2026-08-20 2:26 ` [v4] " bluez.test.bot
@ 2026-08-20 5:18 ` Uwe Kleine-König
1 sibling, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2026-08-20 5:18 UTC (permalink / raw)
To: Li Jun; +Cc: marcel, luiz.dentz, linux-bluetooth
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
Hello,
On Thu, Aug 20, 2026 at 08:50:58AM +0800, Li Jun wrote:
> 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.
Please use spaces after punctuation marks.
> Signed-off-by: Li Jun <lijun01@kylinos.cn>
> ---
Please apply what you learned during submission of similar patches.
There is no changelog describing what changed in v4. Also please use
pm_sleep_ptr() and practise some patience between revisions. Four
revisions within 24h is too much.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-20 5:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 0:50 [PATCH v4] Bluetooth: pm: use SIMPLE_DEV_OPS for pm struct Li Jun
2026-08-20 2:26 ` [v4] " bluez.test.bot
2026-08-20 5:18 ` [PATCH v4] " Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox