crypto: tegra - fix missing unlock on error case
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 21 Oct 2012 11:56:42 +0000 (19:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 24 Oct 2012 13:10:56 +0000 (21:10 +0800)
commit3200da8d9afb3d0dc617515a2fe364d9d59ef523
treefe2634c1a01ce9e6b4c81b8a58dd2ed7c810874d
parentc12ab20b162c9414acadc18c6da6cfd3eea54b7b
crypto: tegra - fix missing unlock on error case

Add the missing unlock on the error handling path in function
tegra_aes_get_random() and tegra_aes_rng_reset().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/tegra-aes.c