summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_host.h
diff options
context:
space:
mode:
authorAnand Gadiyar <gadiyar@ti.com>2009-04-02 21:07:08 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 06:44:41 +0200
commitd1043a2697effee3054451a9293a376bfb013e4b (patch)
tree4a614ab79c9c44b23a45b9f0bb3e0f8352a4d99d /drivers/usb/musb/musb_host.h
parentmusb: support disconnect after HNP roleswitch (diff)
downloadlinux-d1043a2697effee3054451a9293a376bfb013e4b.tar.xz
linux-d1043a2697effee3054451a9293a376bfb013e4b.zip
musb: use dma mode 1 for TX if transfer size equals maxpacket (v2)
Currently, with Inventra DMA, we use Mode 0 if transfer size is less than or equal to the endpoint's maxpacket size. This requires that we explicitly set TXPKTRDY for that transfer. However the musb_g_tx code will not set TXPKTRDY twice if the last transfer is exactly equal to maxpacket, even if request->zero is set. Using Mode 1 will solve this; a better fix might be in musb_g_tx(). Without this change, musb will not correctly send out a ZLP if the last transfer is the maxpacket size and request->zero is set. Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_host.h')
0 files changed, 0 insertions, 0 deletions