Messages in this thread | | | From | Maxime Ripard <> | Subject | Re: [PATCH] bus: sunxi-rsb: Fix shutdown | Date | Mon, 22 Nov 2021 10:07:23 +0100 |
| |
On Sun, 21 Nov 2021 09:35:37 +0100, Jernej Skrabec wrote: > Function sunxi_rsb_hw_exit() is sometimes called with pm runtime > disabled, so in such cases pm_runtime_resume() will fail with -EACCES. > > Instead of doing whole dance of enabling pm runtime and thus clock just > to disable it again immediately, just check if disabling clock is > needed. That way calling pm_runtime_resume() is not needed at all. > > [...]
Applied to sunxi/linux.git (sunxi/drivers-for-5.17).
Thanks! Maxime
| |