mdm6600: Resume modem synchronously
authorBenoit Goby <benoit@android.com>
Wed, 12 Jan 2011 23:38:24 +0000 (15:38 -0800)
committerBenoit Goby <benoit@android.com>
Thu, 13 Jan 2011 02:11:29 +0000 (18:11 -0800)
commitdda0b352a7dac2c7eb188ffe2091bd509ce3853b
tree4d67532bde544bc955f3cb0d1005a33b61b271df
parent5b8f08be8106328a1b7fcc45603294817840947f
mdm6600: Resume modem synchronously

If runtime pm auto-resumes the modem while the modem is being
disconnected, runtime pm might use the modem power spinlock after free.

Resumes the modem synchronously and make sure there are no pending
wakeup requests before disconnect returns.

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