1. 31 1月, 2015 2 次提交
  2. 25 1月, 2015 1 次提交
  3. 20 1月, 2015 2 次提交
  4. 15 11月, 2014 3 次提交
  5. 12 11月, 2014 1 次提交
  6. 20 9月, 2014 1 次提交
    • P
      usb: dwc2: handle DMA buffer unmapping sanely · 5dce9555
      Paul Zimmerman 提交于
      The driver's handling of DMA buffers for non-aligned transfers
      was kind of nuts. For IN transfers, it left the URB DMA buffer
      mapped until the transfer completed, then synced it, copied the
      data from the bounce buffer, then synced it again.
      
      Instead of that, just call usb_hcd_unmap_urb_for_dma() to unmap
      the buffer before starting the transfer. Then no syncing is
      required when doing the copy. This should also allow handling of
      other types of mappings besides just dma_map_single() ones.
      
      Also reduce the size of the bounce buffer allocation for Isoc
      endpoints to 3K, since that's the largest possible transfer size.
      
      Tested on Raspberry Pi and Altera SOCFPGA.
      Signed-off-by: NPaul Zimmerman <paulz@synopsys.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5dce9555
  7. 05 2月, 2014 1 次提交
  8. 14 1月, 2014 1 次提交
  9. 09 12月, 2013 2 次提交
  10. 04 12月, 2013 1 次提交
  11. 26 11月, 2013 1 次提交
  12. 29 10月, 2013 1 次提交
  13. 26 9月, 2013 2 次提交
  14. 31 8月, 2013 5 次提交
  15. 26 7月, 2013 1 次提交
  16. 24 7月, 2013 7 次提交
  17. 30 5月, 2013 2 次提交
  18. 17 5月, 2013 4 次提交
  19. 24 4月, 2013 2 次提交