commit | b516b88a7946c92d418c8ad2673b94ea568d1cf5 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Fri Nov 11 14:56:47 2016 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Nov 17 23:34:57 2016 +0800 |
tree | b64bd60e5c0b057c8d39c31b815fabd27395f75a | |
parent | 9b50184ea56dbae613587ec4c0112aa07f288a79 [diff] |
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>