[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201021150258.mwis3ez5b6emqoci@gilmour.lan>
Date: Wed, 21 Oct 2020 17:02:58 +0200
From: Maxime Ripard <maxime@...no.tech>
To: Alexander Kochetkov <al.kochet@...il.com>
Cc: Mark Brown <broonie@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
linux-spi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] spi: spi-sun6i: enable autosuspend feature
On Mon, Oct 19, 2020 at 06:03:43PM +0300, Alexander Kochetkov wrote:
> From: Alexander Kochetkov <al.kochet@...il.com>
>
> If SPI is used for periodic polling any sensor, significant delays
> sometimes appear. Switching on module clocks during resume lead to delays.
> Enabling autosuspend mode causes the controller to not suspend between
> SPI transfers and the delays disappear.
>
> The commit also remove unnecessary call to pm_runtime_idle() used
> to explicit put device to suspended state. Without pm_runtime_idle() PM
> core will put device in the suspended state just after probe() returns.
>
> Signed-off-by: Alexander Kochetkov <al.kochet@...il.com>
Acked-by: Maxime Ripard <mripard@...nel.org>
Thanks!
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists