pwm: bcm2835: Fix NPD in suspend/resume
Subsystems (3)
Florian Fainelli
maintainerPATCH 1/1 pwm: bcm2835: Fix NPD in suspend/resume
When 119a508c4dc9 ("pwm: bcm2835: Add support for suspend/resume") was sent out on October 11th,, there was still a call to platform_set_drvdata() which would ensure that the driver private data structure could be used in bcm2835_pwm_{suspend,resume}.
A cleanup now merged as commit commit 2ce7b7f6704c ("pwm: bcm2835:
Simplify using devm functions") removed that call which would now cause a NPD in bcm2835_pwm_{suspend,resume} as a consequence.
--- drivers/pwm/pwm-bcm2835.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/pwm/pwm-bcm2835.c +2 -0
@@ -155,6 +155,8 @@ static int bcm2835_pwm_probe(struct platform_device *pdev) pc->chip.ops = &bcm2835_pwm_ops; pc->chip.npwm =2 ; +platform_set_drvdata (pdev, pc); + ret =devm_pwmchip_add (&pdev->dev, &pc->chip);if (ret <0 ) return dev_err_probe(&pdev->dev, ret,
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hello,
Quoted 11 lines · Florian Fainelli
When
119a508c4dc9("pwm: bcm2835: Add support for suspend/resume") was sent out on October 11th,, there was still a call toplatform_set_drvdata()which would ensure that the driver private data structure could be used in bcm2835_pwm_{suspend,resume}.A cleanup now merged as commit commit
2ce7b7f6704c("pwm: bcm2835:
Simplify using devm functions") removed that call which would now cause a NPD in bcm2835_pwm_{suspend,resume} as a consequence.Fixes 119a508c4dc9 ("pwm: bcm2835: Add support for suspend/resume")Signed-off-by Florian Fainelli <[email protected]>
oops, indeed.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Thierry Reding
AppliedQuoted 10 lines · Florian Fainelli
When
119a508c4dc9("pwm: bcm2835: Add support for suspend/resume") was sent out on October 11th,, there was still a call toplatform_set_drvdata()which would ensure that the driver private data structure could be used in bcm2835_pwm_{suspend,resume}.A cleanup now merged as commit commit
2ce7b7f6704c("pwm: bcm2835:
Simplify using devm functions") removed that call which would now cause a NPD in bcm2835_pwm_{suspend,resume} as a consequence.[...]
Applied, thanks!
[1/1] pwm: bcm2835: Fix NPD in suspend/resume
commit: fba7e9f839d7fcb0888094697da45c5668226455
Best regards,
Signature · 1 line
Thierry Reding <[email protected]>
Quoted 11 lines · Thierry Reding
Quoted 9 lines · Florian Fainelli
When
119a508c4dc9("pwm: bcm2835: Add support for suspend/resume") was sent out on October 11th,, there was still a call toplatform_set_drvdata()which would ensure that the driver private data structure could be used in bcm2835_pwm_{suspend,resume}.A cleanup now merged as commit commit
2ce7b7f6704c("pwm: bcm2835:
Simplify using devm functions") removed that call which would now cause a NPD in bcm2835_pwm_{suspend,resume} as a consequence.
Quoted 6 lines
Quoted 1 line
[...]
Applied, thanks!
[1/1] pwm: bcm2835: Fix NPD in suspend/resume
commit: fba7e9f839d7fcb0888094697da45c5668226455
This one should IMHO go into v6.7. Do you intend to send it to Linus during the current cycle?
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Hello Thierry,
Quoted 14 lines · Uwe Kleine-König
Quoted 13 lines · Thierry Reding
Quoted 10 lines · Florian Fainelli
When
119a508c4dc9("pwm: bcm2835: Add support for suspend/resume") was sent out on October 11th,, there was still a call toplatform_set_drvdata()which would ensure that the driver private data structure could be used in bcm2835_pwm_{suspend,resume}.A cleanup now merged as commit commit
2ce7b7f6704c("pwm: bcm2835:
Simplify using devm functions") removed that call which would now cause a NPD in bcm2835_pwm_{suspend,resume} as a consequence.[...]
Quoted 7 lines
Quoted 4 lines
Applied, thanks!
[1/1] pwm: bcm2835: Fix NPD in suspend/resume
commit: fba7e9f839d7fcb0888094697da45c5668226455This one should IMHO go into v6.7. Do you intend to send it to Linus during the current cycle?
We know since > 2 weeks now that the pwm-bcm2835 driver is broken in v6.7-rc1 and there is a fix since day 0.
If you continue to be silent about this (here and at
https://lore.kernel.org/linux-pwm/[email protected])
I intend to send a PR to Linus with this fix on Friday next week.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |