diff options
author | Yu Kuai | 2020-09-29 09:40:37 +0800 |
---|---|---|
committer | Will Deacon | 2020-09-29 16:25:52 +0100 |
commit | e2eae09939a89e0994f7965ba3c676a5eac8b4b0 (patch) | |
tree | ed2fcfd765541e2de4738e7ec739e4e136231db3 /drivers/iommu/fsl_pamu.c | |
parent | f534d98b9d27053279da015d0187a09e3a090ccd (diff) |
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: 0ae349a0f33f ("iommu/qcom: Add qcom_iommu")
Acked-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20200929014037.2436663-1-yukuai3@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/fsl_pamu.c')
0 files changed, 0 insertions, 0 deletions