Searched hist:e2eae09939a89e0994f7965ba3c676a5eac8b4b0 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iommu/arm/arm-smmu/ |
H A D | qcom_iommu.c | diff e2eae09939a89e0994f7965ba3c676a5eac8b4b0 Mon Sep 28 20:40:37 CDT 2020 Yu Kuai <yukuai3@huawei.com> 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>
|