iommu/arm-smmu-v3: Consolidate identical timeouts
authorWill Deacon <will.deacon@arm.com>
Thu, 19 Oct 2017 15:49:30 +0000 (16:49 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 20 Oct 2017 15:55:10 +0000 (16:55 +0100)
commita529ea19aadb7a3bbcce3335ed4671adbe275b22
tree1e9344dd88faad113c613d5f0392dda74778bd53
parent49806599c31d77b1050022aeb3da3051cd9f85f6
iommu/arm-smmu-v3: Consolidate identical timeouts

We have separate (identical) timeout values for polling for a queue to
drain and waiting for an MSI to signal CMD_SYNC completion. In reality,
we only wait for the command queue to drain if we're waiting on a sync,
so just merged these two timeouts into a single constant.

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