diff options
author | Kylene Hall <kjhall@us.ibm.com> | 2005-06-24 05:02:02 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 07:05:26 (GMT) |
commit | d9e5b6bf9cf19e6e9f2825228136ea17bc9a051a (patch) | |
tree | 4261c5ec342c9cdd56b214a9f1eb4c4b83465733 /drivers/char/tpm/tpm_nsc.c | |
parent | 6659ca2ab6730c3bbb9fa495f2327b95b955decd (diff) | |
download | linux-fsl-qoriq-d9e5b6bf9cf19e6e9f2825228136ea17bc9a051a.tar.xz |
[PATCH] tpm: add cancel function
This patch provides the logic to check if an operation has been canceled while
waiting for the response to arrive.
Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/tpm/tpm_nsc.c')
-rw-r--r-- | drivers/char/tpm/tpm_nsc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c index 6752901..37bea14 100644 --- a/drivers/char/tpm/tpm_nsc.c +++ b/drivers/char/tpm/tpm_nsc.c @@ -245,6 +245,7 @@ static struct tpm_vendor_specific tpm_nsc = { .cancel = tpm_nsc_cancel, .req_complete_mask = NSC_STATUS_OBF, .req_complete_val = NSC_STATUS_OBF, + .req_canceled = NSC_STATUS_RDY, .base = TPM_NSC_BASE, .attr_group = &nsc_attr_grp, .miscdev = { .fops = &nsc_ops, }, |