[PATCH v3] tpm: fix an invalid condition in tpm_common_poll