diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2016-07-05 22:30:16 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-07-13 23:59:58 +0200 |
commit | 1ec76030edb631a1d37d6c9ad9d3791795681c11 (patch) | |
tree | 9420eed698aeb5d90aec45dd3803c19820527290 /src/ec/smsc | |
parent | adfbbde7c99a13ba69abf1e7123453f4db513e53 (diff) |
tpm2: fix tpm_write() error reporting
The code misses the cases when a response was received but the command
failed. This patch fixes the problem.
BRANCH=none
BUG=chrome-os-partner:50645
TEST=none
Change-Id: I3d50a4b67e3592bb80d2524a7c7f264fddbd34ae
Signed-off-by: Martin Roth <martinroth@chromium.org>
Original-Commit-Id: 8f4d6185e13beead7156027e1cb40f7944e46569
Original-Change-Id: I914ab6509d3ab2082152652205802201a6637fcc
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/358096
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/15637
Tested-by: build bot (Jenkins)
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@googlemail.com>
Diffstat (limited to 'src/ec/smsc')
0 files changed, 0 insertions, 0 deletions