From 9f20bc395757177ae0bcaa240c1b5350a792ce6c Mon Sep 17 00:00:00 2001 From: yangkai Date: Mon, 5 Dec 2011 16:14:05 +0800 Subject: [PATCH] disable async suspend in usb system --- drivers/usb/core/hub.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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). -- 2.34.1