disable async suspend in usb system
authoryangkai <yk@rock-chips.com>
Mon, 5 Dec 2011 08:14:05 +0000 (16:14 +0800)
committeryangkai <yk@rock-chips.com>
Mon, 5 Dec 2011 08:14:05 +0000 (16:14 +0800)
drivers/usb/core/hub.c

index 576bf90ba7732fe1f85fd0cf02564b88474ae33a..44728488411571fde463faac9df013d864e07e7c 100755 (executable)
@@ -1898,7 +1898,11 @@ int usb_new_device(struct usb_device *udev)
        /* Tell the world! */
        announce_device(udev);
 
-       device_enable_async_suspend(&udev->dev);
+       /* kever@rk 20111205
+        * We don't use async suspend in rk29 usb
+        * to make sure usb1.1 host is suspend before usb 2.0 host.
+        */
+       //device_enable_async_suspend(&udev->dev);
        /* Register the device.  The device driver is responsible
         * for configuring the device and invoking the add-device
         * notifier chain (used by usbfs and possibly others).