Commits

Anonymous committed 34014f8

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>
(cherry picked from commit 3aceb26a7e3f96ce03bc748fa271bb32b979ae87)

  • Participants
  • Parent commits 3bafaeb
  • Branches android-msm-flo-3.4-jb-mr2, seandroid-msm-flo-3.4-jb-mr2

Comments (0)

Files changed (1)

drivers/net/usb/rmnet_usb_data.c

 		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);
 	}