The commit
2727486add81b ("pass-hal: standard: Fix wrong info of
sysfs entries and add new nodes") modified/added the following
sysfs patch for cpufreq. But, it was wrong. In result, when pass stopped,
happen error which could not write the up_threshold.
- /sys/device/system/cpu/cpufreq/ondemand/up_threshold
- /sys/device/system/cpu/cpufreq/ondemand/sampling_rate
So, this patch fixes the wrong path of cpufreq sysfs entries as following:
- /sys/device/system/cpu/*/cpufreq/ondemand/up_threshold
- /sys/device/system/cpu/*/cpufreq/ondemand/sampling_rate
Fixes:
2727486add81b ("pass-hal: standard: Fix wrong info of
sysfs entries and add new nodes")
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Change-Id: I7bd0228710887f2f7b817084434884cef35b34e4
t /sys/devices/system/cpu/*/cpufreq/scaling_min_freq - - - - security.SMACK64="System"
z /sys/devices/system/cpu/*/cpufreq/scaling_max_freq 0660 root system_fw -
t /sys/devices/system/cpu/*/cpufreq/scaling_max_freq - - - - security.SMACK64="System"
-z /sys/devices/system/cpu/cpufreq/ondemand/up_threshold 0660 root system_fw -
-t /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - - - - security.SMACK64="System"
-z /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate 0660 root system_fw -
-t /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - - - - security.SMACK64="System"
+z /sys/devices/system/cpu/*/cpufreq/ondemand/up_threshold 0660 root system_fw -
+t /sys/devices/system/cpu/*/cpufreq/ondemand/up_threshold - - - - security.SMACK64="System"
+z /sys/devices/system/cpu/*/cpufreq/ondemand/sampling_rate 0660 root system_fw -
+t /sys/devices/system/cpu/*/cpufreq/ondemand/sampling_rate - - - - security.SMACK64="System"
z /sys/class/thermal/*/temp 0440 root system_fw -
t /sys/class/thermal/*/temp - - - - security.SMACK64="System"
z /sys/class/thermal/*/policy 0440 root system_fw -