1. 22 11月, 2012 3 次提交
  2. 01 11月, 2012 1 次提交
    • S
      usb: musb: remove hand-crafted id handling · 2f771164
      Sebastian Andrzej Siewior 提交于
      This replaced the handcrafted id handling by the PLATFORM_DEVID_AUTO
      value which should do the same thing.
      
      This patch probably also fixes ux500 because I did not find the "musbid"
      variable to remove. And we close a tiny-unlikely race window becuase the
      old code gave the id back before device was destroyed in the remove
      case.
      
      [ balbi@ti.com : fixed up two failed hunks when applying patch ]
      
      Cc: B, Ravi <ravibabu@ti.com>
      Cc: Santhapuri, Damodar <damodar.santhapuri@ti.com>
      Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
      Cc: Bob Liu <lliubbo@gmail.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      2f771164
  3. 26 10月, 2012 1 次提交
  4. 15 10月, 2012 2 次提交
    • S
      usb: musb: am35x: use module_platform_driver macro · a0a83eb4
      Srinivas Kandagatla 提交于
      This patch removes some code duplication by using
      module_platform_driver.
      Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      a0a83eb4
    • S
      usb: musb: am35xx: drop spurious unplugging a device · 6ff1f3d3
      Stefano Babic 提交于
      On AM3517, tx and rx interrupt are detected together with
      the disconnect event. This generates a kernel panic in musb_interrupt,
      because rx / tx are handled after disconnect.
      This issue was seen on a Technexion's TAM3517 SOM. Unplugging a device,
      tx / rx interrupts together with disconnect are detected. This brings
      to kernel panic like this:
      
      [   68.526153] Unable to handle kernel NULL pointer dereference at virtual address 00000011
      [   68.534698] pgd = c0004000
      [   68.537536] [00000011] *pgd=00000000
      [   68.541351] Internal error: Oops: 17 [#1] ARM
      [   68.545928] Modules linked in:
      [   68.549163] CPU: 0    Not tainted  (3.6.0-rc5-00020-g9e05905 #178)
      [   68.555694] PC is at rxstate+0x8/0xdc
      [   68.559539] LR is at musb_interrupt+0x98/0x858
      [   68.564239] pc : [<c035cd88>]    lr : [<c035af1c>]    psr: 40000193
      [   68.564239] sp : ce83fb40  ip : d0906410  fp : 00000000
      [   68.576293] r10: 00000000  r9 : cf3b0e40  r8 : 00000002
      [   68.581817] r7 : 00000019  r6 : 00000001  r5 : 00000001  r4 : 000000d4
      [   68.588684] r3 : 00000000  r2 : 00000000  r1 : ffffffcc  r0 : cf23c108
      [   68.595550] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment ke
      
      Note: this behavior is not seen with a USB hub, while it is
      easy to reproduce connecting a USB-pen directly to the USB-A of
      the board.
      
      Drop tx / rx interrupts if disconnect is detected.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      CC: Felipe Balbi <balbi@ti.com>
      Cc: stable@vger.kernel.org # 3.5 3.6
      Tested-by: NDmitry Lifshitz <lifshitz@compulab.co.il>
      Tested-by: NIgor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      6ff1f3d3
  5. 11 9月, 2012 1 次提交
  6. 09 8月, 2012 1 次提交
  7. 03 8月, 2012 1 次提交
  8. 02 7月, 2012 1 次提交
  9. 25 6月, 2012 2 次提交
  10. 27 2月, 2012 1 次提交
  11. 13 2月, 2012 1 次提交
  12. 31 1月, 2012 1 次提交
  13. 15 11月, 2011 1 次提交
  14. 02 7月, 2011 1 次提交
  15. 13 5月, 2011 1 次提交
    • F
      usb: musb: drop unneeded musb_debug trickery · 5c8a86e1
      Felipe Balbi 提交于
      We have a generic way of enabling/disabling
      different debug messages on a driver called
      DYNAMIC_PRINTK. Anyone interested in enabling
      just part of the debug messages, please read
      the documentation under:
      
      Documentation/dynamic-debug-howto.txt
      
      for information on how to use that great
      infrastructure.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      5c8a86e1
  16. 07 5月, 2011 1 次提交
  17. 10 12月, 2010 8 次提交
  18. 07 12月, 2010 1 次提交
    • F
      usb: musb: make all glue layer export struct musb_platform_ops · 743411b3
      Felipe Balbi 提交于
      preparing to a big refactor on musb code. We need
      to be able to compile in all glue layers (or at
      least all ARM-based ones) together and have a
      working binary.
      
      While preparing for that, we move every glue
      layer to export only one symbol, which is
      a struct musb_platform_ops, and make all
      other functions static.
      
      Later patches will come to allow for compiling
      all glue layers together and have a working
      binary.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      743411b3
  19. 23 10月, 2010 3 次提交