diff options
author | Benoit Goby <benoit@android.com> | 2011-11-02 17:42:07 -0700 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2011-12-09 13:27:34 -0800 |
commit | fbdda8a8e8646e7e6d1cabb86c787d8591532817 (patch) | |
tree | 3116a0affdb9c164ed3a272fbe9903704f45df3c /init.tuna.rc | |
parent | ceabccf60bbda319eba97059fcddb6df52484e45 (diff) | |
download | device_samsung_tuna-fbdda8a8e8646e7e6d1cabb86c787d8591532817.zip device_samsung_tuna-fbdda8a8e8646e7e6d1cabb86c787d8591532817.tar.gz device_samsung_tuna-fbdda8a8e8646e7e6d1cabb86c787d8591532817.tar.bz2 |
tuna: set root hubs autosuspend delay to 0
The musb driver now holds a wakelock when the root hub is resumed.
Suspend root hubs immediatly if no device is attached or immaediatly
after attached devices are suspended by setting their autosuspend delay
to 0.
Change-Id: If573b76065f2cc1b0b1bf4b56cfcda18d682851f
Diffstat (limited to 'init.tuna.rc')
-rwxr-xr-x | init.tuna.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc index 10442ee..bb82134 100755 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -46,6 +46,10 @@ on boot write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 20000 write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 700000 +# autosuspend root hubs immediatly after attached devices + write /sys/bus/usb/devices/usb1/power/autosuspend_delay_ms 0 + write /sys/bus/usb/devices/usb2/power/autosuspend_delay_ms 0 + on fs mkdir /factory 0775 radio radio mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system wait ro |