usb_autopm_put_interface_no_suspend decrease the usage count but does
not schedule a suspend. use usb_autopm_put_interface_async instead.
This fixes an issue where the modem is never auto-suspended if there
is traffic on only port2 (b/
3383043).
Change-Id: I572f14542180512540e67a47fce6e88c63d0c4c9
Signed-off-by: Benoit Goby <benoit@android.com>
/* let usbcore auto-resume the modem */
if (usb_autopm_get_interface(intf) == 0)
/* set usage count back to 0 */
- usb_autopm_put_interface_no_suspend(intf);
+ usb_autopm_put_interface_async(intf);
device_unlock(&intf->dev);
}