[RFC/PATCH 0/2] Generic map/unmap routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

the following patches add generic routines for mapping
and unmapping usb_requests to/from DMA.

The idea came when I noticed that most (all ?) UDC
drivers provide a routine of their own for doing the
same thing.

Please take a look.

See that this is far from completed moving all UDCs, but
it gives the idea.

Felipe Balbi (2):
  usb: gadget: add generic map/unmap request utilities
  usb: gadget: move UDCs to generic map/unmap utilities

 drivers/usb/dwc3/ep0.c         |    6 ++-
 drivers/usb/dwc3/gadget.c      |   79 ++++------------------------------------
 drivers/usb/dwc3/gadget.h      |    2 -
 drivers/usb/gadget/udc-core.c  |   58 +++++++++++++++++++++++++++++
 drivers/usb/musb/musb_gadget.c |   38 ++------------------
 include/linux/usb/gadget.h     |   12 ++++++
 6 files changed, 84 insertions(+), 111 deletions(-)

-- 
1.7.8.rc3

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux