From a8d9cc1d9a4ccd88d539da8ef779cd753c30efc6 Mon Sep 17 00:00:00 2001 From: Kalle Vahlman Date: Wed, 9 May 2012 08:47:26 +0000 Subject: 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... --- snowball | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/snowball b/snowball index 13bd060..16ce49f 100755 --- a/snowball +++ b/snowball @@ -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 -- cgit v1.2.3