diff --git a/arch/x86/boot/compressed/early_tpm_extend.c b/arch/x86/boot/compressed/early_tpm_extend.c index 7cfdb7969878..fd20851427c3 100644 --- a/arch/x86/boot/compressed/early_tpm_extend.c +++ b/arch/x86/boot/compressed/early_tpm_extend.c @@ -321,6 +321,7 @@ static int tpm_tis_recv(struct tpm_chip *chip, u8 *buf, int count) goto out; } + __tis_cancel(chip); return size; out: __tis_cancel(chip);