1. 29 8月, 2016 1 次提交
  2. 04 5月, 2016 1 次提交
  3. 19 4月, 2016 1 次提交
  4. 04 3月, 2016 1 次提交
  5. 15 12月, 2015 1 次提交
    • Y
      usb: renesas_usbhs: Modify pipe configuration · 51f141a9
      Yoshihiro Shimoda 提交于
      The current code has info->bufnmb_last to calculate the BUFNMB bits of
      PIPEBUF register. However, since the bufnmb_last is initialized in
      the usbhs_pipe_init() only, this driver is possible to set unexpected
      value to the register if usb_ep_{enable,disable}() are called many times.
      
      So, this patch modifies the pipe configuration via struct
      renesas_usbhs_driver_param to simplify the code. Also this patch changes:
       - a double buffer configuration
       - isochronous buffer size from 512 to 1024
      Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      51f141a9
  6. 13 3月, 2015 1 次提交
    • Y
      usb: renesas_usbhs: add support for USB-DMAC · ab330cf3
      Yoshihiro Shimoda 提交于
      Some Renesas SoCs have the USB-DMAC. It is able to terminate transfers
      when a short packet is received, even if less bytes than the transfer
      counter size have been received. Also, it is able to send a short
      packet even if the packet size is not multiples of 8bytes.
      
      Since the previous code has used the interruption of USBHS controller
      when receiving packets even if this driver has used a dmac, a lot of
      interruptions has happened. This patch will reduce such interruptions.
      
      This patch allows to use the USB-DMAC on R-Car H2 and M2.
      Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      ab330cf3
  7. 06 11月, 2014 1 次提交
  8. 03 9月, 2014 1 次提交
    • Y
      usb: renesas_usbhs: fix the behavior of some usbhs_pkt_handle · 8355b2b3
      Yoshihiro Shimoda 提交于
      Some gadget drivers will call usb_ep_queue() more than once before
      the first queue doesn't finish. However, this driver didn't handle
      it correctly. So, this patch fixes the behavior of some
      usbhs_pkt_handle using the "running" flag. Otherwise, the oops below
      happens if we use g_ncm driver and when the "iperf -u -c host -b 200M"
      is running.
      
      Unable to handle kernel NULL pointer dereference at virtual address 00000000
      pgd = c0004000
      [00000000] *pgd=00000000
      Internal error: Oops: 80000007 [#1] SMP ARM
      Modules linked in: usb_f_ncm g_ncm libcomposite u_ether
      CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W      3.17.0-rc1-00008-g8b2be8a-dirty #20
      task: c051c7e0 ti: c0512000 task.ti: c0512000
      PC is at 0x0
      LR is at usbhsf_pkt_handler+0xa8/0x114
      pc : [<00000000>]    lr : [<c0278fb4>]    psr: 60000193
      sp : c0513ce8  ip : c0513c58  fp : c0513d24
      r10: 00000001  r9 : 00000193  r8 : eebec4a0
      r7 : eebec410  r6 : eebe0c6c  r5 : 00000000  r4 : ee4a2774
      r3 : 00000000  r2 : ee251e00  r1 : c0513cf4  r0 : ee4a2774
      Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      8355b2b3
  9. 10 7月, 2014 2 次提交
  10. 08 11月, 2012 1 次提交
  11. 05 6月, 2012 1 次提交
  12. 21 12月, 2011 1 次提交
  13. 13 12月, 2011 1 次提交
  14. 12 12月, 2011 1 次提交
  15. 14 10月, 2011 12 次提交
  16. 23 8月, 2011 1 次提交
  17. 15 6月, 2011 1 次提交
  18. 08 6月, 2011 7 次提交
  19. 12 5月, 2011 1 次提交
  20. 30 4月, 2011 2 次提交
  21. 14 4月, 2011 1 次提交