On Wed, Feb 28, 2018 at 02:18:27PM -0500, Nayna Jain wrote:Sure, will do.
In tpm_transmit, after send(), the code checks for status in a loopMaybe cutting hairs now but please just use the actual function name
instead of send(). Just makes the commit log more useful asset.
I'm not sure what you mean by "schedule()". Are you suggesting instead of using usleep_range(), using something with an even finer grain construct?
- tpm_msleep(TPM_TIMEOUT);What about just calling schedule()?
+ tpm_msleep(TPM_TIMEOUT_POLL);
/Jarkko