diff options
author | Anand Gadiyar <[email protected]> | 2010-11-18 18:54:17 +0530 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2010-11-22 12:55:02 +0200 |
commit | 07a8cdd2bb17a4da68136d963b8bc71959bd31a5 (patch) | |
tree | fbc64d9842b38848ee7b4d410bab626ff2abd893 /net/lapb/lapb_out.c | |
parent | bb324b08165d5656d221af013ed9994a54e455be (diff) |
usb: musb: do not use dma for control transfers
The Inventra DMA engine used with the MUSB controller in many
SoCs cannot use DMA for control transfers on EP0, but can use
DMA for all other transfers.
The USB core maps urbs for DMA if hcd->self.uses_dma is true.
(hcd->self.uses_dma is true for MUSB as well).
Split the uses_dma flag into two - one that says if the
controller needs to use PIO for control transfers, and
another which says if the controller uses DMA (for all
other transfers).
Also, populate this flag for all MUSB by default.
(Tested on OMAP3 and OMAP4 boards, with EHCI and MUSB HCDs
simultaneously in use).
Signed-off-by: Maulik Mankad <[email protected]>
Signed-off-by: Santosh Shilimkar <[email protected]>
Signed-off-by: Anand Gadiyar <[email protected]>
Cc: Oliver Neukum <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Praveena NADAHALLY <[email protected]>
Cc: Ajay Kumar Gupta <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions