[PATCH v5 06/29] tpm: Don't cleanup unless an error happens
Bin Meng
bmeng.cn at gmail.com
Thu Apr 16 07:33:44 CEST 2020
On Thu, Apr 9, 2020 at 6:58 AM 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>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v5: None
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
> drivers/tpm/tpm-uclass.c | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list