1. 18 3月, 2013 2 次提交
  2. 17 1月, 2013 2 次提交
    • M
      usb: musb: fix dependency on transceiver driver · 25736e0c
      Ming Lei 提交于
      This patch let glue driver return -EPROBE_DEFER if the transceiver
      is not readly, so we can support defer probe on musb to fix the
      below error on 3.7-rc5 if transceiver drivers are built as module:
      
      [   19.052490] unable to find transceiver of type USB2 PHY
      [   19.072052] HS USB OTG: no transceiver configured
      [   19.076995] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -19
      [   19.089355] musb-hdrc: probe of musb-hdrc.0.auto rejects match -19
      [   19.096771] driver: 'musb-omap2430': driver_bound: bound to device 'musb-omap2430'
      [   19.105194] bus: 'platform': really_probe: bound device musb-omap2430 to driver musb-omap2430
      [   19.174407] bus: 'platform': add driver twl4030_usb
      [   19.179656] bus: 'platform': driver_probe_device: matched device twl4030_usb with driver twl4030_usb
      [   19.202270] bus: 'platform': really_probe: probing driver twl4030_usb with device twl4030_usb
      [   19.214172] twl4030_usb twl4030_usb: HW_CONDITIONS 0xc0/192; link 3
      [   19.239624] musb-omap2430 musb-omap2430: musb core is not yet ready
      [   19.246765] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
      [   19.254516] driver: 'twl4030_usb': driver_bound: bound to device 'twl4030_usb'
      [   19.263580] bus: 'platform': really_probe: bound device twl4030_usb to driver twl4030_usb
      
      Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
      Cc: <stable@vger.kernel.org> v3.8
      Signed-off-by: NMing Lei <ming.lei@canonical.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      25736e0c
    • F
      usb: musb: ux500: use clk_prepare_enable and clk_disable_unprepare · 99d17cfa
      Fabio Baltieri 提交于
      This patch converts the module to use clk_prepare_enable and
      clk_disable_unprepare variants as required by common clock framework.
      
      Without this the system crash during probe function.
      
      Cc: <stable@vger.kernel.org> # v3.7 v3.8
      Signed-off-by: NFabio Baltieri <fabio.baltieri@linaro.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      99d17cfa
  3. 22 11月, 2012 3 次提交
  4. 06 11月, 2012 1 次提交
    • P
      usb: musb: remove generic_interrupt · baef653a
      Philippe De Swert 提交于
      This patch is based on the discussion of a previous patch to fix an issue
      where the omap2430 musb driver is not working for N9/N950.
      
      Moving all the interrupt handling to the devices. Avoids inclusion of generic
      interrupt and breakage due to sometimes misleading CONFIG options. This makes
      sure usb always works if on of the subdrivers is chosen. Tested on Nokia N9/N950.
      
      Partially clean up CONFIG_SOC_OMAP3430 which is not necessary in the cases
      where I removed it. Also helps with the removal work of those options that
      Tony Lindgren predicted would happen at some point.
      Signed-off-by: NPhilippe De Swert <philippe.deswert@jollamobile.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      baef653a
  5. 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
  6. 26 10月, 2012 2 次提交
    • W
      usb: musb: ux500: fix 'musbid' undeclared error in ux500_remove() · 9a65d162
      Wei Yongjun 提交于
      commit 65b3d52d
      (usb: musb: add musb_ida for multi instance support)
      used musbid in ux500_remove() but nerver declared it.
      
      I found this in x86_64 platform, but not sure whether
      this is a error on the correct ARCH.
      
      $ make drivers/usb/musb/ux500.o
      make[1]: Nothing to be done for `all'.
      make[1]: Nothing to be done for `relocs'.
        CHK     include/generated/uapi/linux/version.h
        CHK     include/generated/utsrelease.h
        UPD     include/generated/utsrelease.h
        CALL    scripts/checksyscalls.sh
        CC      drivers/usb/musb/ux500.o
      drivers/usb/musb/ux500.c: In function 'ux500_probe':
      drivers/usb/musb/ux500.c:78:2: error: 'musbid' undeclared (first use in this function)
      drivers/usb/musb/ux500.c:78:2: note: each undeclared identifier is reported only once for each function it appears in
      make[1]: *** [drivers/usb/musb/ux500.o] Error 1
      make: *** [drivers/usb/musb/ux500.o] Error 2
      Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      9a65d162
    • W
      usb: musb: ux500: use platform_device_unregister in ux500_remove() · 4b0de6f3
      Wei Yongjun 提交于
      platform_device_unregister() only calls platform_device_del() and
      platform_device_put(), thus use platform_device_unregister() to
      simplify the code.
      
      Also the documents in platform.c shows that platform_device_del
      and platform_device_put must _only_ be externally called in error
      cases.  All other usage is a bug.
      
      dpatch engine is used to auto generate this patch.
      (https://github.com/weiyj/dpatch)
      Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      4b0de6f3
  7. 15 10月, 2012 1 次提交
  8. 11 9月, 2012 1 次提交
  9. 02 7月, 2012 1 次提交
  10. 25 6月, 2012 2 次提交
  11. 27 2月, 2012 1 次提交
  12. 31 1月, 2012 1 次提交
  13. 13 4月, 2011 1 次提交
  14. 10 12月, 2010 1 次提交