Messages in this thread | | | Subject | Re: [PATCH] mmc: sunxi-mmc: Fix clock refcount imbalance during unbind | From | Samuel Holland <> | Date | Sun, 14 Aug 2022 12:56:56 -0500 |
| |
On 8/14/22 3:22 AM, Jernej Škrabec wrote: > Dne sreda, 10. avgust 2022 ob 04:25:09 CEST je Samuel Holland napisal(a): >> If the controller is suspended by runtime PM, the clock is already >> disabled, so do not try to disable it again during removal. Use >> pm_runtime_disable() to flush any pending runtime PM transitions. >> >> Fixes: 9a8e1e8cc2c0 ("mmc: sunxi: Add runtime_pm support") >> Signed-off-by: Samuel Holland <samuel@sholland.org> > > Did you get any warnings for unbalanced disable calls?
Yes, I got warnings while I was doing unbind/bind cycles to force the SDIO WiFi driver to reload.
Regards, Samuel
> Anyway: > Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> > > Best regards, > Jernej > >
| |