Files
linux/drivers
Christophe JAILLET c4ff41b93d hwrng: ingenic - Fix a resource leak in an error handling path
In case of error, we should call 'clk_disable_unprepare()' to undo a
previous 'clk_prepare_enable()' call, as already done in the remove
function.

Fixes: 406346d222 ("hwrng: ingenic - Add hardware TRNG for Ingenic X1830")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-01-03 08:41:37 +11:00
..
2020-12-22 17:59:11 +01:00
2020-12-07 10:08:14 +01:00
2020-12-09 19:26:02 -06:00
2020-12-15 15:24:52 +01:00
2020-12-15 22:50:12 +11:00
2020-12-10 10:45:36 +01:00
2020-12-09 19:44:34 +01:00