[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163757202921.21051.5589721835708378046.b4-ty@cerno.tech>
Date: Mon, 22 Nov 2021 10:07:23 +0100
From: Maxime Ripard <maxime@...no.tech>
To: Jernej Skrabec <jernej.skrabec@...il.com>, wens@...e.org,
mripard@...nel.org
Cc: Maxime Ripard <maxime@...no.tech>, samuel@...lland.org,
linux-kernel@...r.kernel.org, linux-sunxi@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] bus: sunxi-rsb: Fix shutdown
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
Powered by blists - more mailing lists