diff options
author | Ramneek Mehresh <ramneek.mehresh@freescale.com> | 2011-05-04 16:11:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-07 03:19:39 +0200 |
commit | ea437f39234f7f991428886f16aae5c264cffe62 (patch) | |
tree | ce34d093ed810893aa03f61edaf2a24c3aaaf0d7 /drivers/usb/host/ohci-au1xxx.c | |
parent | USB: ohci-s3c2410: return proper error if clk_get fails (diff) | |
download | linux-ea437f39234f7f991428886f16aae5c264cffe62.tar.xz linux-ea437f39234f7f991428886f16aae5c264cffe62.zip |
fsl/usb: Unused endpoint failure for USB gadget
Though USB controller works without this most of the time, an issue was faced
where USB was configured as printer device and it was dropping first
packet(64 bytes) in full speed mode due to DATA PID mismatch.
The problem gets resolved once unused endpoints are configured as bulk.
As per P1020 RM (Table17-31, bits 19-18, bits 3-2) "When only one endpoint
(RX or TX, but not both) of an endpoint pair is used, the unused endpoint
should be configured as a bulk type endpoint." So according to the RM,
this patch is initializing TX and RX endpoints as bulk type
Signed-off-by: Suchit Lepcha <Suchit.Lepcha@freescale.com>
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-au1xxx.c')
0 files changed, 0 insertions, 0 deletions