Haotian Zhang
3c9bf72cc1
crypto: aspeed - fix double free caused by devm
...
The clock obtained via devm_clk_get_enabled() is automatically managed
by devres and will be disabled and freed on driver detach. Manually
calling clk_disable_unprepare() in error path and remove function
causes double free.
Remove the manual clock cleanup in both aspeed_acry_probe()'s error
path and aspeed_acry_remove().
Fixes: 2f1cf4e50c ("crypto: aspeed - Add ACRY RSA driver")
Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2025-10-23 12:53:23 +08:00
..
2025-09-13 12:11:05 +08:00
2025-05-12 13:32:52 +08:00
2024-10-19 08:44:30 +08:00
2025-10-23 12:53:23 +08:00
2025-06-08 09:07:37 +02:00
2025-02-22 15:56:03 +08:00
2025-09-13 12:11:06 +08:00
2025-04-07 13:22:25 +08:00
2025-10-04 14:59:29 -07:00
2025-07-18 20:51:59 +10:00
2025-09-13 12:11:06 +08:00
2024-10-19 08:44:30 +08:00
2025-10-04 14:59:29 -07:00
2025-07-31 09:45:28 -07:00
2025-09-20 20:21:03 +08:00
2025-09-02 12:29:57 +01:00
2025-08-22 17:28:44 +08:00
2025-09-20 20:21:03 +08:00
2024-12-21 22:46:24 +08:00
2025-09-13 12:11:05 +08:00
2025-08-30 15:43:26 +08:00
2025-08-16 17:22:46 +08:00
2025-09-13 12:11:06 +08:00
2025-10-02 17:48:50 +08:00
2025-07-18 20:52:00 +10:00
2025-09-06 15:57:23 +08:00
2025-06-23 16:59:38 +08:00
2024-10-05 13:22:05 +08:00
2024-05-10 17:15:25 +08:00
2024-05-10 17:15:25 +08:00
2025-04-23 09:32:57 +08:00
2025-06-23 16:59:38 +08:00
2025-09-13 12:11:05 +08:00
2024-10-19 08:44:30 +08:00
2024-12-02 11:34:44 -08:00
2024-05-31 17:34:56 +08:00
2025-08-26 12:52:28 -04:00
2025-10-04 14:59:29 -07:00
2025-10-04 14:59:29 -07:00
2025-03-08 16:22:23 +08:00
2025-07-18 20:51:59 +10:00
2025-09-13 12:11:06 +08:00
2025-09-13 12:11:06 +08:00
2025-09-13 12:11:06 +08:00
2025-09-13 12:11:06 +08:00
2025-05-05 18:20:46 +08:00
2024-10-19 08:44:30 +08:00
2025-04-16 15:16:21 +08:00
2025-04-07 13:22:26 +08:00
2023-05-19 16:45:43 +08:00
2024-10-19 08:44:30 +08:00
2024-10-19 08:44:30 +08:00
2022-10-21 19:05:24 +08:00