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

From: [email-masked] (Stephen Warren)
Date: Thu, 26 Apr 2012 13:58:32 -0600

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.