mdm6600: Use usb_get_from_anchor
authorBenoit Goby <benoit@android.com>
Wed, 3 Nov 2010 20:54:31 +0000 (13:54 -0700)
committerBenoit Goby <benoit@android.com>
Thu, 4 Nov 2010 21:29:20 +0000 (14:29 -0700)
commitc8e1645124176f496678eaa2b6ea4fc7e877d270
tree6b4c572208d88e8b267ca05f6f49f2eb25f4004a
parent045b41e4f452a19f79b91b9d12153d5898381923
mdm6600: Use usb_get_from_anchor

It is safe to remove a urb from the read pending anchor
before processing it.
This fixes the "dropped 4294965808 of 0 bytes" issue.

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