mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
crypto: tegra - Remove an incorrect iommu_fwspec_free() call in tegra_se_remove()
The only iommu function call in this driver is a
tegra_dev_iommu_get_stream_id() which does not allocate anything and does
not take any reference.
So there is no point in calling iommu_fwspec_free() in the remove function.
Remove this incorrect function call.
Fixes: 0880bb3b00c8 ("crypto: tegra - Add Tegra Security Engine driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: Akhil R <akhilrajeev@nvidia.com>
Acked-by: Akhil R <akhilrajeev@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
JIRA LINQPJ14-47
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: I1d511caa5cff07b936d1f347c2768c43a6f1c1e3
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3328426
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Akhil R <akhilrajeev@nvidia.com>
This commit is contained in:
committed by
Jon Hunter
parent
990ce03a70
commit
6b5633fb93
@@ -330,7 +330,6 @@ static int tegra_se_remove(struct platform_device *pdev)
|
|||||||
|
|
||||||
crypto_engine_stop(se->engine);
|
crypto_engine_stop(se->engine);
|
||||||
crypto_engine_exit(se->engine);
|
crypto_engine_exit(se->engine);
|
||||||
iommu_fwspec_free(se->dev);
|
|
||||||
host1x_client_unregister(&se->client);
|
host1x_client_unregister(&se->client);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user