Skip to content
Commit e2eae099 authored by Yu Kuai's avatar Yu Kuai Committed by Will Deacon
Browse files

iommu/qcom: add missing put_device() call in qcom_iommu_of_xlate()

if of_find_device_by_node() succeed, qcom_iommu_of_xlate() doesn't have
a corresponding put_device(). Thus add put_device() to fix the exception
handling for this function implementation.

Fixes: 0ae349a0

 ("iommu/qcom: Add qcom_iommu")
Acked-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20200929014037.2436663-1-yukuai3@huawei.com
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent f534d98b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment