[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F99A8E8.7090909@wwwdotorg.org>
Date: Thu, 26 Apr 2012 13:58:32 -0600
From: Stephen Warren <swarren@...dotorg.org>
To: Hiroshi DOYU <hdoyu@...dia.com>
CC: swarren@...dia.com, Joerg Roedel <joerg.roedel@....com>,
Thierry Reding <thierry.reding@...onic-design.de>,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCHv3 3/4] iommu/tegra: smmu: Refrain from accessing to AHB
registers
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists