]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3acbeb022cf5f89ea2f163f91780fb639a2eba40
tree1e9344dd88faad113c613d5f0392dda74778bd53
parent31721935e4dbe977aa3ba94e9572a144f15f91ce
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