lkml.org 
[lkml]   [2020]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 2/3] spi: spi-geni-qcom: Set an autosuspend delay of 250 ms
    From
    Date

    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

    \
     
     \ /
      Last update: 2020-07-07 12:25    [W:5.078 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site