summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-08 16:57:25 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-04-16 14:36:28 +0800
commit88307654af35fd550324fc1d8504db0da7225950 (patch)
tree1727529c41ef6c56a05a81bce48104277756e95d /arch/x86/include
parent32e8ee004a3dad1a9cc06bd3ac44d8ba562afc3e (diff)
tpm: Don't cleanup unless an error happens
At present the cleanup() method is called on every transfer. It should only be called on failing transfers. Fix this and tidy up the error handling a little. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions