Skip to content

Commit

Permalink
tuna: set root hubs autosuspend delay to 0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
benoitgoby committed Dec 9, 2011
1 parent ceabccf commit fbdda8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init.tuna.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbdda8a

Please sign in to comment.