Re: [PATCH v2] spi: spi-sun6i: enable autosuspend feature

2020-10-26 Thread Mark Brown
On Mon, 19 Oct 2020 18:03:43 +0300, Alexander Kochetkov wrote: > 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

Re: [PATCH v2] spi: spi-sun6i: enable autosuspend feature

2020-10-21 Thread Maxime Ripard
On Mon, Oct 19, 2020 at 06:03:43PM +0300, Alexander Kochetkov wrote: > From: Alexander Kochetkov > > 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

[PATCH v2] spi: spi-sun6i: enable autosuspend feature

2020-10-19 Thread Alexander Kochetkov
From: Alexander Kochetkov 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