diff options
author | Anji jonnala <anjir@codeaurora.org> | 2011-05-02 11:56:32 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-03 10:25:25 -0700 |
commit | ac1aa6a21747d02a93b1becb4ab19f1fc9de2beb (patch) | |
tree | 56b00bf540d92cfc8e126c52899feacbb52e3768 /drivers/usb/host/ehci-orion.c | |
parent | 76cd9cfb2e022d19bfc008a6e993e1e407034241 (diff) |
USB: gadget: Initialize ep0 once while registering gadget in ci13xxx_udc
Some of the simulators may cache the ep0 maxpacket size to zero
if the ep0 dQh is not setup before enabling the pullup. Hence
Setup ep0 and initialize the dQh fields once while registering the
gadget(before enabling the pullup).
HSUSB Chipidea link controller spec says ep0 is enabled always
in the HW. Hence disabling and enabling the ep0 as a part of
reset interrupt is unneccesary.
Remove the disable/enable ep0 logic from reset interrupt handling.
Signed-off-by: Anji jonnala <anjir@codeaurora.org>
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-orion.c')
0 files changed, 0 insertions, 0 deletions