iommu/arm-smmu: Add missing pm_runtime_disable() in qcom_iommu_device_probe
authorMiaoqian Lin <linmq006@gmail.com>
Wed, 5 Jan 2022 10:16:19 +0000 (10:16 +0000)
committerWill Deacon <will@kernel.org>
Tue, 8 Feb 2022 15:56:07 +0000 (15:56 +0000)
commit93665e0275a2e2badfcfca5ada3b78b22df4a01a
tree43e9f79af68cacd3b0aeeb8ea106981cd5b9e351
parentfcdeb8c34043a192c881b0594b26d195d5e57997
iommu/arm-smmu: Add missing pm_runtime_disable() in qcom_iommu_device_probe

If the probe fails, we should use pm_runtime_disable() to balance
pm_runtime_enable().
Add missing pm_runtime_disable() for error handling.

Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220105101619.29108-1-linmq006@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/qcom_iommu.c