]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: tegra - Remove an incorrect iommu_fwspec_free() call in tegra_se_remove()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 25 May 2024 15:14:35 +0000 (17:14 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 31 May 2024 09:34:56 +0000 (17:34 +0800)
commit8d7c52cb4184d3dc26dde62b4f5acd48de0768ae
tree1752a35113a943b45d7b8d5e6d6ee10f065b6d40
parent7c699fe9a5740a228b2974325e817de28f7b6afd
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>
drivers/crypto/tegra/tegra-se-main.c