An error occurred fetching the project authors.
  1. 28 May, 2013 1 commit
  2. 18 Mar, 2013 1 commit
  3. 17 Jan, 2013 1 commit
    • Ming Lei's avatar
      usb: musb: fix dependency on transceiver driver · 25736e0c
      Ming Lei authored
      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: default avatarMing Lei <ming.lei@canonical.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      25736e0c
  4. 21 Nov, 2012 3 commits
  5. 01 Nov, 2012 1 commit
    • Sebastian Andrzej Siewior's avatar
      usb: musb: remove hand-crafted id handling · 2f771164
      Sebastian Andrzej Siewior authored
      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: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      2f771164
  6. 26 Oct, 2012 1 commit
  7. 15 Oct, 2012 1 commit
  8. 11 Sep, 2012 1 commit
  9. 09 Aug, 2012 1 commit
  10. 03 Aug, 2012 1 commit
  11. 02 Jul, 2012 1 commit
  12. 25 Jun, 2012 2 commits
  13. 04 Jun, 2012 1 commit
  14. 18 Apr, 2012 1 commit
  15. 27 Feb, 2012 1 commit
  16. 13 Feb, 2012 1 commit
  17. 31 Jan, 2012 1 commit
  18. 24 Jan, 2012 1 commit
    • Sekhar Nori's avatar
      usb: musb: davinci: fix build breakage · 006896fc
      Sekhar Nori authored
      Commit 0020afb3 (ARM: mach-davinci:
      remove mach/memory.h) removed mach/memory.h for DaVinci which broke
      DaVinci MUSB build.
      
      mach/memory.h is not actually needed in davinci.c, so remove it.
      While at it, also remove some more machine specific inclulde
      files which are not needed for build.
      
      Tested on DM644x EVM using USB card reader.
      
      Cc: stable@vger.kernel.org # v3.2
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      006896fc
  19. 08 Aug, 2011 1 commit
  20. 01 Jul, 2011 1 commit
  21. 13 May, 2011 1 commit
    • Felipe Balbi's avatar
      usb: musb: drop unneeded musb_debug trickery · 5c8a86e1
      Felipe Balbi authored
      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: default avatarFelipe Balbi <balbi@ti.com>
      5c8a86e1
  22. 07 May, 2011 1 commit
  23. 10 Dec, 2010 5 commits
  24. 07 Dec, 2010 1 commit
    • Felipe Balbi's avatar
      usb: musb: make all glue layer export struct musb_platform_ops · 743411b3
      Felipe Balbi authored
      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: default avatarFelipe Balbi <balbi@ti.com>
      743411b3
  25. 01 Dec, 2010 1 commit
  26. 22 Oct, 2010 1 commit
    • Sergei Shtylyov's avatar
      USB: MUSB: fix kernel WARNING/oops when unloading module in OTG mode · f4053874
      Sergei Shtylyov authored
      Since commit 461972d8 (musb_core: don't call
      musb_platform_exit() twice), unloading the driver module results in a WARNING
      "kobject: '(null)' (c73de788): is not initialized, yet kobject_put() is being
      called." (or even kernel oops) on e.g. DaVincis, though only in the OTG mode.
      There exists dubious and unbalanced put_device() call in musb_free() which
      takes place only in the OTG mode.  As this commit caused musb_platform_exit()
      to be called (and so unregister the NOP transceiver) before this put_device()
      call, this function references already freed memory.
      
      On the other hand, all the glue layers miss the otg_put_transceiver() call,
      complementary to the otg_get_transceiver() call that they do.  So, I think
      the solution is to get rid of the strange put_device() call, and instead
      call otg_put_transceiver() in the glue layers...
      Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      f4053874
  27. 20 May, 2010 1 commit
  28. 30 Apr, 2010 1 commit
  29. 30 Mar, 2010 1 commit
    • Tejun Heo's avatar
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking... · 5a0e3ad6
      Tejun Heo authored
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      percpu.h is included by sched.h and module.h and thus ends up being
      included when building most .c files.  percpu.h includes slab.h which
      in turn includes gfp.h making everything defined by the two files
      universally available and complicating inclusion dependencies.
      
      percpu.h -> slab.h dependency is about to be removed.  Prepare for
      this change by updating users of gfp and slab facilities include those
      headers directly instead of assuming availability.  As this conversion
      needs to touch large number of source files, the following script is
      used as the basis of conversion.
      
        http://userweb.kernel.org/~tj/misc/slabh-sweep.py
      
      The script does the followings.
      
      * Scan files for gfp and slab usages and update includes such that
        only the necessary includes are there.  ie. if only gfp is used,
        gfp.h, if slab is used, slab.h.
      
      * When the script inserts a new include, it looks at the include
        blocks and try to put the new include such that its order conforms
        to its surrounding.  It's put in the include block which contains
        core kernel includes, in the same order that the rest are ordered -
        alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
        doesn't seem to be any matching order.
      
      * If the script can't find a place to put a new include (mostly
        because the file doesn't have fitting include block), it prints out
        an error message indicating which .h file needs to be added to the
        file.
      
      The conversion was done in the following steps.
      
      1. The initial automatic conversion of all .c files updated slightly
         over 4000 files, deleting around 700 includes and adding ~480 gfp.h
         and ~3000 slab.h inclusions.  The script emitted errors for ~400
         files.
      
      2. Each error was manually checked.  Some didn't need the inclusion,
         some needed manual addition while adding it to implementation .h or
         embedding .c file was more appropriate for others.  This step added
         inclusions to around 150 files.
      
      3. The script was run again and the output was compared to the edits
         from #2 to make sure no file was left behind.
      
      4. Several build tests were done and a couple of problems were fixed.
         e.g. lib/decompress_*.c used malloc/free() wrappers around slab
         APIs requiring slab.h to be added manually.
      
      5. The script was run on all .h files but without automatically
         editing them as sprinkling gfp.h and slab.h inclusions around .h
         files could easily lead to inclusion dependency hell.  Most gfp.h
         inclusion directives were ignored as stuff from gfp.h was usually
         wildly available and often used in preprocessor macros.  Each
         slab.h inclusion directive was examined and added manually as
         necessary.
      
      6. percpu.h was updated not to include slab.h.
      
      7. Build test were done on the following configurations and failures
         were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my
         distributed build env didn't work with gcov compiles) and a few
         more options had to be turned off depending on archs to make things
         build (like ipr on powerpc/64 which failed due to missing writeq).
      
         * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
         * powerpc and powerpc64 SMP allmodconfig
         * sparc and sparc64 SMP allmodconfig
         * ia64 SMP allmodconfig
         * s390 SMP allmodconfig
         * alpha SMP allmodconfig
         * um on x86_64 SMP allmodconfig
      
      8. percpu.h modifications were reverted so that it could be applied as
         a separate patch and serve as bisection point.
      
      Given the fact that I had only a couple of failures from tests on step
      6, I'm fairly confident about the coverage of this conversion patch.
      If there is a breakage, it's likely to be something in one of the arch
      headers which should be easily discoverable easily on most builds of
      the specific arch.
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Guess-its-ok-by: default avatarChristoph Lameter <cl@linux-foundation.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
      5a0e3ad6
  30. 15 Feb, 2010 1 commit
  31. 23 Dec, 2009 1 commit
  32. 12 Jul, 2009 2 commits
    • David Brownell's avatar
      USB: musb: silence "suspend as a_wait_vrise is_active" msgs · 89368d3d
      David Brownell authored
      Get rid of some obnoxious and inappropriate messaging, mostly on
      DaVinci, when usbcore tries to autosuspend a root hub if just a
      mini/micro-A connector is connected.  Symptom: endless stream of
      messages reading like:
      
       musb_bus_suspend 2221: trying to suspend as a_wait_vrise is_active=1
      
      Improve that musb bus suspend primitive a bit.  Take advantage of
      this call to update the OTG state machine if appropriate, moving
      the device out of the A_WAIT_VRISE state.  There's basically no
      timer for that state transition just now, except with tusb6010;
      that can make trouble.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      89368d3d
    • Kevin Hilman's avatar
      USB: musb: davinci dm6446evm GPIO renumbering · 30899ca7
      Kevin Hilman authored
      Numbering for GPIOs on the pcf857x chips on the dm644x EVM board
      changed when DaVinci chips with more GPIOs were supported.  Update
      the GPIO number used for nVBUS_DRV.
      
      Longer term, we need a better abstraction of board-specific setup in
      this code so we're not hard-coding board specific GPIOs into the
      driver, but for now this at least gets it back to working with
      mainline davinci core code.
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      30899ca7