[PATCH 006/108] tpm: Don't cleanup unless an error happens

Bin Meng bmeng.cn at gmail.com
Sat Feb 8 16:15:33 CET 2020


On Mon, Jan 27, 2020 at 1:08 PM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
>  drivers/tpm/tpm-uclass.c | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list