mdm6600: Wait for pending urbs on suspend
authorBenoit Goby <benoit@android.com>
Thu, 23 Sep 2010 01:34:42 +0000 (18:34 -0700)
committerColin Cross <ccross@android.com>
Thu, 7 Oct 2010 00:03:16 +0000 (17:03 -0700)
commit5d59d11198960bb39f5755f28273903e39cddb0d
treed26f39c6b9ffcd0b8d4555e689c3c47692cb422b
parentf156d3e4833cbc983d6b97fdc297829cea5a1aa0
mdm6600: Wait for pending urbs on suspend

On suspend, while we are killing read urbs, some of the urbs
might succeed. Don't re-submit them and wait for the workqueue
to process them.

Fixed urbs ref count

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