summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Goby <benoit@android.com>2011-12-09 14:21:32 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-12-09 14:21:32 -0800
commit001b7a9a5fb651717d45101213ac87be106580b5 (patch)
tree7cfa01160b9bc3c2af96cfa45be87a5dd4d273bc
parent066be62060bb7ad2dd3d49d54b793dfad984ad5d (diff)
parentfbdda8a8e8646e7e6d1cabb86c787d8591532817 (diff)
downloaddevice_samsung_tuna-001b7a9a5fb651717d45101213ac87be106580b5.zip
device_samsung_tuna-001b7a9a5fb651717d45101213ac87be106580b5.tar.gz
device_samsung_tuna-001b7a9a5fb651717d45101213ac87be106580b5.tar.bz2
am fbdda8a8: tuna: set root hubs autosuspend delay to 0
* commit 'fbdda8a8e8646e7e6d1cabb86c787d8591532817': tuna: set root hubs autosuspend delay to 0
-rwxr-xr-xinit.tuna.rc4
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