iommu/arm-smmu-v3: Split arm_smmu_cmdq_issue_sync in half
authorWill Deacon <will.deacon@arm.com>
Thu, 19 Oct 2017 15:41:53 +0000 (16:41 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 20 Oct 2017 15:55:09 +0000 (16:55 +0100)
commit49806599c31d77b1050022aeb3da3051cd9f85f6
tree362113ce69be0dfde02281a7be143243ed4edd77
parent37de98f8f1cf330918b242cd3ce13751857243a6
iommu/arm-smmu-v3: Split arm_smmu_cmdq_issue_sync in half

arm_smmu_cmdq_issue_sync is a little unwieldy now that it supports both
MSI and event-based polling, so split it into two functions to make things
easier to follow.

Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c