mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
crypto: stm32/cryp - fix double pm exit
Delete extraneous lines in probe error handling code: pm was
disabled twice.
Fixes: 65f9aa36ee ("crypto: stm32/cryp - Add power management support")
Reported-by: Marek Vasut <marex@denx.de>
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
39e6e699c7
commit
6c12e74278
|
|
@ -2141,8 +2141,6 @@ static int stm32_cryp_probe(struct platform_device *pdev)
|
|||
err_rst:
|
||||
pm_runtime_disable(dev);
|
||||
pm_runtime_put_noidle(dev);
|
||||
pm_runtime_disable(dev);
|
||||
pm_runtime_put_noidle(dev);
|
||||
|
||||
clk_disable_unprepare(cryp->clk);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user