summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorHiroshi Doyu <hdoyu@nvidia.com>2012-12-03 07:21:38 +0200
committerSimone Willett <swillett@nvidia.com>2012-12-03 16:24:21 -0800
commitfd970c1d604567cb4546b6b19a038168f70963a4 (patch)
treed9ec96f05c1a13a9fde1d67176975e8281585c2b /drivers/iommu
parent13ffb9d2566dafae2428573b80b23a05ed1eb721 (diff)
iommu/tegra: smmu: Change debugfs permission
Allow root to read/write only. Bug 1179366 Change-Id: I91b13d53cb72e0db347dadbbddae172f70eded73 Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/167990 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/tegra-smmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index 16374d2e6155..af2b973e1bfd 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -1170,7 +1170,7 @@ static void smmu_debugfs_create(struct smmu_device *smmu)
info->cache = j;
cache = debugfs_create_file(smmu_debugfs_cache[j],
- S_IWUGO | S_IRUGO, mc,
+ S_IWUSR | S_IRUSR, mc,
(void *)info,
&smmu_debugfs_stats_fops);
if (!cache)