crypto: inside-secure - Add missed clk_disable_unprepare
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/crypto/inside-secure/safexcel.c | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/inside-secure/safexcel.c +1 -0
@@ -1623,6 +1623,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++)
Signature · 1 line
2.23.0
Herbert Xu
maintainerQuoted 8 lines · Chuhong Yuan
safexcel_removemisses disablingpriv->reg_clklike what is done when probe fails.
Add the missed call to fix it.Signed-off-by Chuhong Yuan <[email protected]>--- drivers/crypto/inside-secure/safexcel.c | 1 + 1 file changed, 1 insertion(+)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt