[PATCHv3 3/4] iommu/tegra: smmu: Refrain from accessing to AHB registers

Stephen Warren swarren at wwwdotorg.org
Thu Apr 26 15:58:32 EDT 2012


On 04/25/2012 05:07 AM, Hiroshi DOYU wrote:
> Use "tegra_ahb_enable_smmu()" to inform AHB that SMMU is
> ready, instead of directly aceessing AHB registers.

> @@ -397,11 +384,7 @@ static void smmu_setup_regs(struct smmu_device *smmu)
...
> +	tegra_ahb_enable_smmu();

You need to check for an error there, and make smmu_setup_regs()
propagate any error back to its callers and check it there too.



More information about the linux-arm-kernel mailing list