* [PATCH 1/2] spi: spi-imx: Pass pm_ptr()
@ 2024-06-25 18:39 Fabio Estevam
2024-06-25 18:39 ` [PATCH 2/2] spi: spi-fsl-lpspi: " Fabio Estevam
2024-06-25 21:23 ` [PATCH 1/2] spi: spi-imx: " Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2024-06-25 18:39 UTC (permalink / raw)
To: broonie; +Cc: linux-spi, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
After coverting to RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS, it is necessary
to pass pm_ptr() to the PM operations.
Fix it accordingly.
Fixes: a93f089ccf82 ("spi: spi-imx: Switch to RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS()")
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
drivers/spi/spi-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index caf36fb785b3..4b325220a7ab 100644
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@ -1953,7 +1953,7 @@ static struct platform_driver spi_imx_driver = {
.driver = {
.name = DRIVER_NAME,
.of_match_table = spi_imx_dt_ids,
- .pm = &imx_spi_pm,
+ .pm = pm_ptr(&imx_spi_pm),
},
.probe = spi_imx_probe,
.remove_new = spi_imx_remove,
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] spi: spi-fsl-lpspi: Pass pm_ptr()
2024-06-25 18:39 [PATCH 1/2] spi: spi-imx: Pass pm_ptr() Fabio Estevam
@ 2024-06-25 18:39 ` Fabio Estevam
2024-06-25 21:23 ` [PATCH 1/2] spi: spi-imx: " Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2024-06-25 18:39 UTC (permalink / raw)
To: broonie; +Cc: linux-spi, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
After coverting to SYSTEM_SLEEP_PM_OPS, it is necessary to pass pm_ptr()
to the PM operations.
Fix it accordingly.
Fixes: 6765e859fac9 ("spi: spi-fsl-lpspi: Switch to SYSTEM_SLEEP_PM_OPS()")
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
drivers/spi/spi-fsl-lpspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c
index 2908a5532482..32baa14dfd83 100644
--- a/drivers/spi/spi-fsl-lpspi.c
+++ b/drivers/spi/spi-fsl-lpspi.c
@@ -991,7 +991,7 @@ static struct platform_driver fsl_lpspi_driver = {
.driver = {
.name = DRIVER_NAME,
.of_match_table = fsl_lpspi_dt_ids,
- .pm = &fsl_lpspi_pm_ops,
+ .pm = pm_ptr(&fsl_lpspi_pm_ops),
},
.probe = fsl_lpspi_probe,
.remove_new = fsl_lpspi_remove,
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/2] spi: spi-imx: Pass pm_ptr()
2024-06-25 18:39 [PATCH 1/2] spi: spi-imx: Pass pm_ptr() Fabio Estevam
2024-06-25 18:39 ` [PATCH 2/2] spi: spi-fsl-lpspi: " Fabio Estevam
@ 2024-06-25 21:23 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2024-06-25 21:23 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-spi, Fabio Estevam
On Tue, 25 Jun 2024 15:39:18 -0300, Fabio Estevam wrote:
> After coverting to RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS, it is necessary
> to pass pm_ptr() to the PM operations.
>
> Fix it accordingly.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/2] spi: spi-imx: Pass pm_ptr()
commit: 2d4e40dcdc5590550704681f1b147c3dadfdbf31
[2/2] spi: spi-fsl-lpspi: Pass pm_ptr()
commit: 14201399457ce5314224c2898c936bfaa5849fcb
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-25 21:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25 18:39 [PATCH 1/2] spi: spi-imx: Pass pm_ptr() Fabio Estevam
2024-06-25 18:39 ` [PATCH 2/2] spi: spi-fsl-lpspi: " Fabio Estevam
2024-06-25 21:23 ` [PATCH 1/2] spi: spi-imx: " Mark Brown
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).