[PATCH v8 5/6] pwm: bcm2835: Allow PWM driver to be used in atomic context
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Tue Dec 12 10:14:44 PST 2023
Hello Sean,
On Tue, Dec 12, 2023 at 05:08:38PM +0100, Uwe Kleine-König wrote:
> On Tue, Dec 12, 2023 at 08:34:04AM +0000, Sean Young wrote:
> > @@ -169,6 +179,7 @@ static int bcm2835_pwm_suspend(struct device *dev)
> > {
> > struct bcm2835_pwm *pc = dev_get_drvdata(dev);
> >
> > + clk_rate_exclusive_put(pc->clk);
> > clk_disable_unprepare(pc->clk);
>
> I thought this was the remove function, but that's suspend. Adding
> clk_rate_exclusive_put() there is wrong.
https://lore.kernel.org/linux-clk/744a6371f94fe96f527eea6e52a600914e6fb6b5.1702403904.git.u.kleine-koenig@pengutronix.de/
might be useful to fix this.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20231212/da7a9ef0/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list