]> Pileus Git - ~andy/linux/commit
iommu/arm-smmu: don't enable SMMU device until probing has completed
authorWill Deacon <will.deacon@arm.com>
Wed, 21 Aug 2013 12:56:34 +0000 (13:56 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 17 Sep 2013 11:03:11 +0000 (12:03 +0100)
commitfd90cecbde065eac6ecc3ef38abace725ad27010
treeee02fb709bfc734ec6ece4beae4601719558d2e3
parent6614ee77f49d37f9bb77eb3e81431ca8fcc4042e
iommu/arm-smmu: don't enable SMMU device until probing has completed

We currently reset and enable the SMMU before the device has finished
being probed, so if we fail later on (for example, because we couldn't
request a global irq successfully) then we will leave the device in an
active state.

This patch delays the reset and enabling of the SMMU hardware until
probing has completed.

Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c