tpm_tis: Check return code from getting timeouts/durations
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 11 Nov 2011 17:57:05 +0000 (12:57 -0500)
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>
Wed, 16 Nov 2011 11:43:01 +0000 (09:43 -0200)
commit7f326ed7ff221a109bf89288bf6c8f0142e3e75c
tree89e3901917831a53cd3e8c805c9984e9ba5a5f60
parent68d6e6713fcb2ea6278661aaaf5f1c9c821b3751
tpm_tis: Check return code from getting timeouts/durations

Check the return code from getting the TPM's timeouts and durations
and reject the driver if they could not be read.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
drivers/char/tpm/tpm_tis.c