[PATCH V2] iommu/qcom: add missing put_device() call in qcom_iommu_of_xlate()

2020-09-28 Thread Yu Kuai
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: 0ae349a0f33fb ("iommu/qcom: Add qcom_iommu") Signed-off-by: Yu Kuai --- Changes in V2: - Fix wrong '

Re: [PATCH V2] iommu/qcom: add missing put_device() call in qcom_iommu_of_xlate()

2020-09-29 Thread Will Deacon
On Tue, 29 Sep 2020 09:40:37 +0800, Yu Kuai wrote: > 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. Applied to will (for-joerg/arm-smmu/updates), thanks!