Searched hist:aaa6f7f6c8bf1a056c1bb337578cbb2f0c50c12a (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm-interface.c | diff aaa6f7f6c8bf1a056c1bb337578cbb2f0c50c12a Mon Sep 19 15:22:08 CDT 2016 Ed Swierk <eswierk@skyportsystems.com> 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>
|