-
Christophe Jaillet authored
Commit 79ca6f74 ("tpm: fix Atmel TPM crash caused by too frequent queries") has moved some code around without updating the error handling path. This is now pointless to 'goto out_err' when neither 'clk_enable()' nor 'ioremap()' have been called yet. Make a direct return instead to avoid undoing things that have not been done. Fixes: 79ca6f74 ("tpm: fix Atmel TPM crash caused by too frequent queries") Signed-off-by:
Christophe Jaillet <christophe.jaillet@wanadoo.fr> Reviewed-by:
Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by:
Jarkko Sakkinen <jarkko@kernel.org>
e96d5282