iommu/tegra: smmu: Fix error initial value at domain_init
authorHiroshi Doyu <hdoyu@nvidia.com>
Mon, 30 Jul 2012 05:39:19 +0000 (08:39 +0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 3 Aug 2012 14:04:44 +0000 (16:04 +0200)
commitd1d076f16376066d0a51aa7d465f43059da71562
tree37ed1def751527ef4545d173e8a987b559a5212c
parentd2453b2c7875dac9b323bff5d21981c41de177b1
iommu/tegra: smmu: Fix error initial value at domain_init

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