mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
eca73a7440
commit
3aceb26a7e
1 changed files with 1 additions and 1 deletions
2
drivers/net/usb/rmnet_usb_data.c
Normal file → Executable file
2
drivers/net/usb/rmnet_usb_data.c
Normal file → Executable 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue