[ARM] usb: msm72k_udc: Fix handling of OUT packets on ep0 with length > 0
authorMike Lockwood <lockwood@android.com>
Wed, 2 Mar 2011 02:41:20 +0000 (18:41 -0800)
committerSteve Kondik <shade@chemlab.org>
Sat, 30 Apr 2011 08:17:02 +0000 (04:17 -0400)
commitf9a679dc09f17b741d5839bb71efb3cde9db7666
tree503709bddabd60c8875128b42afa917cde03e7ae
parent5d93bde27f9f4a186ad915cc7035a4c8957a93d5
[ARM] usb: msm72k_udc: Fix handling of OUT packets on ep0 with length > 0

The gadget level completion function was getting called for the ACK packet
instead of the data packet, making it impossible to read the data from the host.

Signed-off-by: Mike Lockwood <lockwood@android.com>
drivers/usb/gadget/msm72k_udc.c