mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 00:44:31 +01:00
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:
|
||
|---|---|---|
| .. | ||
| aspeed-acry.c | ||
| aspeed-hace-crypto.c | ||
| aspeed-hace-hash.c | ||
| aspeed-hace.c | ||
| aspeed-hace.h | ||
| Kconfig | ||
| Makefile | ||