Skip to content
Commit 9c377852 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Jarkko Sakkinen
Browse files

tpm_crb: Fix an error handling path in crb_acpi_add()

Some error paths don't call acpi_put_table() before returning.
Branch to the correct place instead of doing some direct return.

Fixes: 4d273288

 ("tpm_crb: Add support for CRB devices based on Pluton")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: default avatarMatthew Garrett <mgarrett@aurora.tech>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 708283ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment