USB: gadget: Use ep0out for control OUT data phase in ci13xxx_udc
commit76cd9cfb2e022d19bfc008a6e993e1e407034241
authorPavankumar Kondeti <pkondeti@codeaurora.org>
Mon, 2 May 2011 06:26:31 +0000 (2 11:56 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 17:25:25 +0000 (3 10:25 -0700)
tree1eb19410b12fabebcca29c6842aa88dc8d1c2947
parent4c5212b7688955075b166def5ce08b34beb87a9c
USB: gadget: Use ep0out for control OUT data phase in ci13xxx_udc

The current code queue the control OUT data request to ep0in instead of
ep0out.  Check ep0_dir and use the correct control endpoint.

Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ci13xxx_udc.c