lkml.org 
[lkml]   [2018]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v3 1/2] tpm: reduce poll sleep time in tpm_transmit()
    From
    Date


    On 05/08/2018 10:04 PM, J Freyensee wrote:
    >
    >>           do {
    >> -            tpm_msleep(TPM_POLL_SLEEP);
    >> +            tpm_msleep(TPM_TIMEOUT_POLL);
    >>
    > I'm just curious why it was decided to still use tpm_msleep() here
    > instead of usleep_range() which was used in the 2nd patch.

    TPM_TIMEOUT_POLL is in msec i.e. 1 msec and usleep_range() is used only
    when timeout is needed in usecs.

    >
    > Otherwise,
    >
    > Acked-by: Jay Freyensee <why2jjj.linux@gmail.com>

    Thanks !!

    Thanks & Regards,
        - Nayna


    \
     
     \ /
      Last update: 2018-05-10 14:44    [W:3.150 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site