projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2453b2
)
iommu/tegra: smmu: Fix error initial value at domain_init
author
Hiroshi Doyu
<hdoyu@nvidia.com>
Mon, 30 Jul 2012 05:39:19 +0000
(08:39 +0300)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Fri, 3 Aug 2012 14:04:44 +0000
(16:04 +0200)
err initial value should be -EAGAIN. Otherwise 2nd iteration always
fails in the case as[0] is occupied.
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/tegra-smmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/tegra-smmu.c
b/drivers/iommu/tegra-smmu.c
index 37669cc483b124a60e8380d0b05df1043571bff3..2a4bb36bc6888a9c91aee304df7c19bad1e42f83 100644
(file)
--- a/
drivers/iommu/tegra-smmu.c
+++ b/
drivers/iommu/tegra-smmu.c
@@
-806,7
+806,7
@@
out:
static int smmu_iommu_domain_init(struct iommu_domain *domain)
{
- int i, err = -E
NODEV
;
+ int i, err = -E
AGAIN
;
unsigned long flags;
struct smmu_as *as;
struct smmu_device *smmu = smmu_handle;