diff options
author | Kalle Vahlman <kalle.vahlman@movial.com> | 2012-05-09 08:47:26 +0000 |
---|---|---|
committer | Kalle Vahlman <kalle.vahlman@movial.com> | 2012-05-09 08:51:45 +0000 |
commit | a8d9cc1d9a4ccd88d539da8ef779cd753c30efc6 (patch) | |
tree | 263207a9cf310f15d6922131f39cca12317ed628 | |
parent | 0565663c72513393ed90e4d321447df391c64288 (diff) |
Fix initialization order of USB things
g_multi should be loaded _after_ enabling the USB driver. Also remove
disabling the USB driver as it seems to not be sensible...
-rwxr-xr-x | snowball | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -7,16 +7,13 @@ # (Limited) OTG HOST support USB_BTD=/sys/devices/platform/ab8500-i2c.0/ab8500-usb.0/boot_time_device start_musb() { - modprobe g_multi if [ -f $USB_BTD ]; then echo 1 > $USB_BTD fi + modprobe g_multi } stop_musb() { modprobe -r g_multi - if [ -f $USB_BTD ]; then - echo 0 > $USB_BTD - fi } # Bluetooth |