diff options
| author | Ed Swierk <eswierk@skyportsystems.com> | 2016-09-19 23:22:08 +0300 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-11-28 01:31:30 +0200 |
| commit | aaa6f7f6c8bf1a056c1bb337578cbb2f0c50c12a (patch) | |
| tree | 999bd883249db0d0ba2897761442237727529d55 /tools/perf/scripts/python | |
| parent | char/tpm: Check return code of wait_for_tpm_stat (diff) | |
| download | linux-aaa6f7f6c8bf1a056c1bb337578cbb2f0c50c12a.tar.gz linux-aaa6f7f6c8bf1a056c1bb337578cbb2f0c50c12a.zip | |
tpm: Clean up reading of timeout and duration capabilities
Call tpm_getcap() from tpm_get_timeouts() to eliminate redundant
code. Return all errors to the caller rather than swallowing them
(e.g. when tpm_transmit_cmd() returns nonzero).
Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
