summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHao Tang <htang@nvidia.com>2012-06-05 19:24:37 +0800
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-06-12 04:48:38 -0700
commit04d74bee5cf39318c45e76629bb3bb8198888769 (patch)
tree728c357f5679687012e2b66c913ccf4e445a0242
parentf97750024d50a24b9ad5493655283be70661e7d4 (diff)
emc: tegra3: Change debug eack_state permissions
Remove write permission of eack_state for cts verification. The init script will make it acessible on engineering builds Bug 906796 Change-Id: I1b5d77f4ee3d0e39106840eca0c53e6347c34ea1 Signed-off-by: Hao Tang <htang@nvidia.com> Reviewed-on: http://git-master/r/106668 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/tegra3_emc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/tegra3_emc.c b/arch/arm/mach-tegra/tegra3_emc.c
index 2b19848b04f2..363519ca3aaa 100644
--- a/arch/arm/mach-tegra/tegra3_emc.c
+++ b/arch/arm/mach-tegra/tegra3_emc.c
@@ -1307,7 +1307,7 @@ static int __init tegra_emc_debug_init(void)
goto err_out;
if (!debugfs_create_file(
- "eack_state", S_IRUGO | S_IWUGO, emc_debugfs_root, NULL, &eack_state_fops))
+ "eack_state", S_IRUGO | S_IWUSR, emc_debugfs_root, NULL, &eack_state_fops))
goto err_out;
if (!debugfs_create_file("efficiency", S_IRUGO | S_IWUSR,