diff options
author | Ruchi Kandoi <kandoiruchi@google.com> | 2014-05-01 17:53:03 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-05-01 17:53:03 +0000 |
commit | f74cb9534914bd0cb99573b976bead9e3689216c (patch) | |
tree | 6f96e1ee9bf194859c32fa9488d535efb347991d /init | |
parent | 68831f852e5eed79c0f4ef83895e5f62e4fb138f (diff) | |
parent | 57569b3d3cea0b2096a15e8d25b41df9f836fd08 (diff) | |
download | system_core-f74cb9534914bd0cb99573b976bead9e3689216c.zip system_core-f74cb9534914bd0cb99573b976bead9e3689216c.tar.gz system_core-f74cb9534914bd0cb99573b976bead9e3689216c.tar.bz2 |
am 57569b3d: am 1abf4918: am c7580819: Merge "ueventd: Ueventd changes the permission of sysfs files for max/min cpufreq"
* commit '57569b3d3cea0b2096a15e8d25b41df9f836fd08':
ueventd: Ueventd changes the permission of sysfs files for max/min cpufreq
Diffstat (limited to 'init')
-rw-r--r-- | init/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/devices.c b/init/devices.c index 80c6d75..5d7ad3b 100644 --- a/init/devices.c +++ b/init/devices.c @@ -699,7 +699,7 @@ static void handle_generic_device_event(struct uevent *uevent) static void handle_device_event(struct uevent *uevent) { - if (!strcmp(uevent->action,"add") || !strcmp(uevent->action, "change")) + if (!strcmp(uevent->action,"add") || !strcmp(uevent->action, "change") || !strcmp(uevent->action, "online")) fixup_sys_perms(uevent->path); if (!strncmp(uevent->subsystem, "block", 5)) { |