Skip to content

Commit 2bd40e3

Browse files
toromanoSTMgregkh
authored andcommitted
crypto: stm32/cryp - fix double pm exit
[ Upstream commit 6c12e74 ] Delete extraneous lines in probe error handling code: pm was disabled twice. Fixes: 65f9aa3 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 533af16 commit 2bd40e3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/crypto/stm32/stm32-cryp.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,8 +2134,6 @@ static int stm32_cryp_probe(struct platform_device *pdev)
21342134
list_del(&cryp->list);
21352135
spin_unlock(&cryp_list.lock);
21362136

2137-
pm_runtime_disable(dev);
2138-
pm_runtime_put_noidle(dev);
21392137
pm_runtime_disable(dev);
21402138
pm_runtime_put_noidle(dev);
21412139

0 commit comments

Comments
 (0)