iommu/tegra: smmu: Disable smmu_client_disable_hwgrp()
Hiroshi Doyu [Mon, 4 Feb 2013 07:02:54 +0000 (09:02 +0200)]
Disable this until swgroup is implemented correctly.

bug 1215481

Change-Id: Ic6bdd10bf165e713326a4bcde8d0746d41e5cb23
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/196941
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

drivers/iommu/tegra-smmu.c

index fb6d78e..1c2f0aa 100644 (file)
@@ -429,11 +429,11 @@ static int __smmu_client_set_hwgrp(struct smmu_client *c,
                        }
 #endif
                        val |= mask;
-               } else {
 #if !defined(SKIP_SWGRP_CHECK)
+               } else {
                        WARN_ON((val & mask) == mask);
-#endif
                        val &= ~mask;
+#endif
                }
                smmu_write(smmu, val, offs);
        }