Skip to content

Commit 746db31

Browse files
committed
crypto: tegra - remove unneeded crypto_engine_stop() call
jira LE-4159 Rebuild_History Non-Buildable kernel-5.14.0-570.41.1.el9_6 commit-author Ovidiu Panait <ovidiu.panait.oss@gmail.com> commit 6ef46fe The explicit crypto_engine_stop() call is not needed, as it is already called internally by crypto_engine_exit(). Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> (cherry picked from commit 6ef46fe) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent 7a72e84 commit 746db31

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/crypto/tegra/tegra-se-main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ static int tegra_se_probe(struct platform_device *pdev)
312312

313313
ret = tegra_se_host1x_register(se);
314314
if (ret) {
315-
crypto_engine_stop(se->engine);
316315
crypto_engine_exit(se->engine);
317316
return dev_err_probe(dev, ret, "failed to init host1x params\n");
318317
}
@@ -324,7 +323,6 @@ static void tegra_se_remove(struct platform_device *pdev)
324323
{
325324
struct tegra_se *se = platform_get_drvdata(pdev);
326325

327-
crypto_engine_stop(se->engine);
328326
crypto_engine_exit(se->engine);
329327
host1x_client_unregister(&se->client);
330328
}

0 commit comments

Comments
 (0)