Messages in this thread | | | Subject | Re: [PATCH 2/3] spi: spi-geni-qcom: Set an autosuspend delay of 250 ms | From | Akash Asthana <> | Date | Tue, 7 Jul 2020 15:48:54 +0530 |
| |
On 7/2/2020 6:15 AM, Douglas Anderson wrote: > In commit 0e3b8a81f5df ("spi: spi-geni-qcom: Add interconnect > support") the spi_geni_runtime_suspend() and spi_geni_runtime_resume() > became a bit slower. Measuring on my hardware I see numbers in the > hundreds of microseconds now. > > Let's use autosuspend to help avoid some of the overhead. Now if > we're doing a bunch of transfers we won't need to be constantly > chruning. > > The number 250 ms for the autosuspend delay was picked a bit > arbitrarily, so if someone has measurements showing a better value we > could easily change this.
Reviewed-by: Akash Asthana<akashast@codeaurora.org>
-- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project
| |