drivers: net: usb: rmnet_usb_data: Modify the autosuspend_delay_time of usb suspend to 2 second.

Avoid the modem suspend/resume frequently.

b/9911201

Change-Id: I0872f894c450b697bb2f0e05fc97c6ed0731b36a
Signed-off-by: yi-hsin_hung <yi-hsin_hung@asus.com>
This commit is contained in:
yi-hsin_hung 2013-07-18 15:19:24 +08:00
parent eca73a7440
commit 3aceb26a7e

2
drivers/net/usb/rmnet_usb_data.c Normal file → Executable file
View file

@ -571,7 +571,7 @@ static int rmnet_usb_probe(struct usb_interface *iface,
device_set_wakeup_enable(&udev->parent->dev, 1);
/* set default autosuspend timeout for modem and roothub */
pm_runtime_set_autosuspend_delay(&udev->dev, 1000);
pm_runtime_set_autosuspend_delay(&udev->dev, 2000);
pm_runtime_set_autosuspend_delay(&udev->parent->dev, 200);
}