mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 14:41:02 +07:00
crypto: inside-secure - Add missed clk_disable_unprepare
safexcel_remove misses disabling priv->reg_clk like what is done when probe fails. Add the missed call to fix it. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
1e67ee9344
commit
df40c4e6cd
@ -1749,6 +1749,7 @@ static int safexcel_remove(struct platform_device *pdev)
|
||||
safexcel_unregister_algorithms(priv);
|
||||
safexcel_hw_reset_rings(priv);
|
||||
|
||||
clk_disable_unprepare(priv->reg_clk);
|
||||
clk_disable_unprepare(priv->clk);
|
||||
|
||||
for (i = 0; i < priv->config.rings; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user