mdm6600: Fix auto-suspend when only using port 2
authorBenoit Goby <benoit@android.com>
Mon, 24 Jan 2011 20:36:06 +0000 (12:36 -0800)
committerBenoit Goby <benoit@android.com>
Tue, 25 Jan 2011 01:43:54 +0000 (17:43 -0800)
commitb13ff560d8422b078fb91d5de342702e20e3c22f
tree9a78edc54da88bf003198e6ccaedcf0928f3fa70
parentf6086d04db0ecfb2e77d3dc25d6baedc13e2a73a
mdm6600: Fix auto-suspend when only using port 2

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>
drivers/usb/serial/mdm6600.c