From 2f96df36f51ba409638b0111c4b1d7b30a88008c Mon Sep 17 00:00:00 2001 From: Vladislav Dronov Date: Sun, 7 Jun 2026 23:23:19 +0200 Subject: [PATCH] crypto: tegra - remove unneeded crypto_engine_stop() call JIRA: https://redhat.atlassian.net/browse/RHEL-176465 Upstream Status: merged into the upstream linux.git commit 6ef46fec4171433fd9a3162b88ec2ce808676193 Author: Ovidiu Panait Date: Sun Oct 20 22:25:31 2024 +0300 crypto: tegra - remove unneeded crypto_engine_stop() call The explicit crypto_engine_stop() call is not needed, as it is already called internally by crypto_engine_exit(). Signed-off-by: Ovidiu Panait Acked-by: Thierry Reding Signed-off-by: Herbert Xu Signed-off-by: Vladislav Dronov diff --git a/drivers/crypto/tegra/tegra-se-main.c b/drivers/crypto/tegra/tegra-se-main.c index db5890c7f098..15ed363d09c9 100644 --- a/drivers/crypto/tegra/tegra-se-main.c +++ b/drivers/crypto/tegra/tegra-se-main.c @@ -320,7 +320,6 @@ static int tegra_se_probe(struct platform_device *pdev) ret = tegra_se_host1x_register(se); if (ret) { - crypto_engine_stop(se->engine); crypto_engine_exit(se->engine); return dev_err_probe(dev, ret, "failed to init host1x params\n"); } @@ -332,7 +331,6 @@ static void tegra_se_remove(struct platform_device *pdev) { struct tegra_se *se = platform_get_drvdata(pdev); - crypto_engine_stop(se->engine); crypto_engine_exit(se->engine); host1x_client_unregister(&se->client); } -- 2.50.1 (Apple Git-155)