arm: edp_core: fix sysfs node profile can't write
authorRick Song <ricks@nvidia.com>
Sat, 27 Jul 2013 00:31:04 +0000 (08:31 +0800)
committerHarshada Kale <hkale@nvidia.com>
Wed, 31 Jul 2013 14:18:07 +0000 (07:18 -0700)
commit3c1134b0758a280095a5038f8dbb30bf3fbd890d
tree30215e2249d9010135ed7c5c8f43ffebc81cf6dc
parent6999dfe65e48c625cbdbbe8172ed71e99831d74d
arm: edp_core: fix sysfs node profile can't write

Need approve the sysfs node to be written, if the size
of string from user space is the same as profile items
in the kernel.

Bug 1326355

Change-Id: I8375e32267ff5ae371d8ce469ae87abac49e02ff
Signed-off-by: Rick Song <ricks@nvidia.com>
Reviewed-on: http://git-master/r/254619
Reviewed-by: Andy Carman <acarman@nvidia.com>
Tested-by: Andy Carman <acarman@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
arch/arm/mach-tegra/edp_core.c