From 04d74bee5cf39318c45e76629bb3bb8198888769 Mon Sep 17 00:00:00 2001 From: Hao Tang Date: Tue, 5 Jun 2012 19:24:37 +0800 Subject: 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 Reviewed-on: http://git-master/r/106668 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid Reviewed-by: Raymond Poudrier GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen --- arch/arm/mach-tegra/tegra3_emc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3