1. 18 Jan, 2017 1 commit
    • Chen-Yu Tsai's avatar
      ARM: dts: sun6i: sina31s: Enable USB OTG controller in peripheral mode · c9c9ac71
      Chen-Yu Tsai authored
      While the SinA31s does have a proper 5-pin mini USB OTG port, the ID
      pin does not seem to work. The pin used in the schematics is always low,
      regardless of the attached OTG cable or SoC internal pin bias settings.
      
      The v1.5 board is missing bias resistors shown in the schematics for
      earlier revisions, and the connections of the remaining one does not
      match the schematics either.
      
      In addition, VBUS for this port is disconnected from the board's 5V
      power rail. The board features a pad to solder jumper pins to connect
      VBUS to 5V manually.
      
      Given the above and the fact that the board has 5 more USB host ports,
      it makes more sense to have the OTG port work in peripheral mode.
      Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
      c9c9ac71
  2. 12 Jan, 2017 6 commits
  3. 10 Jan, 2017 26 commits
  4. 26 Dec, 2016 5 commits
  5. 25 Dec, 2016 2 commits
    • Linus Torvalds's avatar
      avoid spurious "may be used uninitialized" warning · d33d5a6c
      Linus Torvalds authored
      The timer type simplifications caused a new gcc warning:
      
        drivers/base/power/domain.c: In function ‘genpd_runtime_suspend’:
        drivers/base/power/domain.c:562:14: warning: ‘time_start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
           elapsed_ns = ktime_to_ns(ktime_sub(ktime_get(), time_start));
      
      despite the actual use of "time_start" not having changed in any way.
      It appears that simply changing the type of ktime_t from a union to a
      plain scalar type made gcc check the use.
      
      The variable wasn't actually used uninitialized, but gcc apparently
      failed to notice that the conditional around the use was exactly the
      same as the conditional around the initialization of that variable.
      
      Add an unnecessary initialization just to shut up the compiler.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d33d5a6c
    • Linus Torvalds's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3ddc76df
      Linus Torvalds authored
      Pull timer type cleanups from Thomas Gleixner:
       "This series does a tree wide cleanup of types related to
        timers/timekeeping.
      
         - Get rid of cycles_t and use a plain u64. The type is not really
           helpful and caused more confusion than clarity
      
         - Get rid of the ktime union. The union has become useless as we use
           the scalar nanoseconds storage unconditionally now. The 32bit
           timespec alike storage got removed due to the Y2038 limitations
           some time ago.
      
           That leaves the odd union access around for no reason. Clean it up.
      
        Both changes have been done with coccinelle and a small amount of
        manual mopping up"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        ktime: Get rid of ktime_equal()
        ktime: Cleanup ktime_set() usage
        ktime: Get rid of the union
        clocksource: Use a plain u64 instead of cycle_t
      3ddc76df