From: yangkai Date: Mon, 5 Dec 2011 08:14:05 +0000 (+0800) Subject: disable async suspend in usb system X-Git-Tag: firefly_0821_release~9728 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9f20bc395757177ae0bcaa240c1b5350a792ce6c;p=firefly-linux-kernel-4.4.55.git disable async suspend in usb system --- diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 576bf90ba773..447284884115 100755 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -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).