mdm6600: Add support for auto-suspend and out-of-band wakeup
authorBenoit Goby <benoit@android.com>
Wed, 8 Sep 2010 00:33:02 +0000 (17:33 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:51:47 +0000 (16:51 -0700)
commitb903677b4b77f07c9163a414f266bfaf9d59a833
tree4b1e42ac58cef438a34d10e1070ac821a0d0dc27
parent4a2f6d372abf08c765a061a5a7a746724f503269
mdm6600: Add support for auto-suspend and out-of-band wakeup

Allow auto-suspend and suspend when there are no pending writes and
no data have been received for 2s.

While the modem is suspended, enqueue write urbs and submit them once
the modem is resumed.

Request the wakeup gpio irq so that the modem can wakeup from lp0.

Change-Id: If2a47756e9a2138d6c1a7c2e7bf235dfc396cec5
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/serial/mdm6600.c