diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-11-11 15:56:47 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-11-17 16:34:57 +0100 |
commit | b516b88a7946c92d418c8ad2673b94ea568d1cf5 (patch) | |
tree | b64bd60e5c0b057c8d39c31b815fabd27395f75a /crypto | |
parent | crypto: nx - drop duplicate header types.h (diff) | |
download | linux-b516b88a7946c92d418c8ad2673b94ea568d1cf5.tar.xz linux-b516b88a7946c92d418c8ad2673b94ea568d1cf5.zip |
hwrng: atmel - use clk_disable_unprepare instead of clk_disable
Since clk_prepare_enable() is used to get trng->clk, we should
use clk_disable_unprepare() to release it for the error path.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions