1. 07 8月, 2015 1 次提交
  2. 06 8月, 2015 4 次提交
  3. 05 8月, 2015 2 次提交
  4. 03 8月, 2015 1 次提交
  5. 31 7月, 2015 1 次提交
  6. 29 7月, 2015 3 次提交
  7. 07 7月, 2015 1 次提交
    • F
      usb: musb: host: rely on port_mode to call musb_start() · be9d3988
      Felipe Balbi 提交于
      Currently, we're calling musb_start() twice for DRD ports
      in some situations. This has been observed to cause enumeration
      issues after suspend/resume cycles with AM335x.
      
      In order to fix the problem, we just have to fix the check
      on musb_has_gadget() so that it only returns true if
      current mode is Host and ignore the fact that we have or
      not a gadget driver loaded.
      
      Fixes: ae44df2e (usb: musb: call musb_start() only once in OTG mode)
      Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
      Cc: <stable@vger.kernel.org> # v3.11+
      Tested-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      be9d3988
  8. 28 5月, 2015 2 次提交
    • F
      usb: musb: ux500: fix build warnings · 30d09223
      Felipe Balbi 提交于
      This patch fixes the following build warnings:
      
      drivers/usb/musb/ux500.c:346:12: warning: ‘ux500_suspend’ defined but
      not used [-Wunused-function]
      drivers/usb/musb/ux500.c:357:12: warning: ‘ux500_resume’ defined but not
      used [-Wunused-function]
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      30d09223
    • F
      usb: musb: am35x: fix build warnings · fea2fc6e
      Felipe Balbi 提交于
      This patch fixes the following build warnings:
      
      drivers/usb/musb/am35x.c:573:12: warning: ‘am35x_suspend’ defined but
      not used [-Wunused-function]
      drivers/usb/musb/am35x.c:589:12: warning: ‘am35x_resume’ defined but not
      used [-Wunused-function]
      drivers/usb/musb/am35x.c:573:12: warning: ‘am35x_suspend’ defined but
      not used [-Wunused-function]
      drivers/usb/musb/am35x.c:589:12: warning: ‘am35x_resume’ defined but not
      used [-Wunused-function]
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      fea2fc6e
  9. 26 5月, 2015 6 次提交
  10. 08 5月, 2015 12 次提交
  11. 28 4月, 2015 2 次提交
  12. 08 4月, 2015 1 次提交
  13. 04 4月, 2015 2 次提交
  14. 25 3月, 2015 1 次提交
    • T
      usb: musb: Fix fifo reads for dm816x with musb_dsps · 3e457371
      Tony Lindgren 提交于
      Looks like dm81xx can only do 32-bit fifo reads like am35x. Let's set
      up musb-dsps with a custom read_fifo function based on the compatible
      flag.
      
      Otherwise we can get the following errors when starting dhclient on a
      asix USB Ethernet adapter:
      
      asix 2-1:1.0 eth2: asix_rx_fixup() Bad Header Length 0xffff003c, offset 4
      
      While at it, let's also remove pointless cast of the driver data.
      
      Cc: Bin Liu <binmlist@gmail.com>
      Cc: Brian Hutchinson <b.hutchman@gmail.com>
      Cc: George Cherian <george.cherian@ti.com>
      Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      3e457371
  15. 12 3月, 2015 1 次提交
    • T
      usb: musb: cppi41: fix condition to call cppi41_trans_done(). · 72a472d2
      Takeyoshi Kikuchi 提交于
      connect AR9271(USB wifi) to AM335x, and send a flood ping from Mac OSX,
      AR9271 is stopped.
      
      on USB bus, the following occurs.
      
       - OUT transaction is ACKed (NYET).
       - IN transaction is ACKed (512bytes).
       - PING-NAK transaction is continued for about 2 seconds (AR9271 timeout?).
      
      In current imprementation, IN-transaction is not completed because it
      checks the empty of TX-FIFO in cppi41_dma_callback().
      As a result, communication to AR9271 stops.
      
      This patch modified to check the empty of TX-FIFO only when OUT-transaction.
      Signed-off-by: NTakeyoshi Kikuchi <kikuchi@centurysys.co.jp>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      72a472d2