1. 25 Sep, 2014 4 commits
  2. 13 Sep, 2014 2 commits
  3. 11 Sep, 2014 2 commits
  4. 10 Sep, 2014 1 commit
    • Roland Stigge's avatar
      ARM: LPC32xx: Fix reset function · 01100c02
      Roland Stigge authored
      In the recent change to the reset function API (commit
      ), the mode argument changed from a
      char to an enum. lpc23xx_restart() only handles REBOOT_SOFT and REBOOT_HARD,
      but the new kernel code emits REBOOT_COLD (0) on reboots now which leads to
      lpc32xx simply not rebooting (but halting).
      This patch fixes this by just resetting unconditionally as on other platforms
      (e.g. mach-bcm2835).
      Pulling lpc32xx_watchdog_reset() into lpc23xx_restart() since the while() in
      lpc23xx_restart() is part of the procedure anyway and lpc32xx_watchdog_reset()
      isn't used anywhere else anymore.
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
  5. 09 Sep, 2014 2 commits
  6. 08 Sep, 2014 7 commits
  7. 05 Sep, 2014 1 commit
  8. 04 Sep, 2014 1 commit
    • Xia Kaixu's avatar
      ARM: cns3xxx: fix allmodconfig panic in pci driver · 0a2e912d
      Xia Kaixu authored
      The kernel panic occurs when running an allmodconfig kernel on
      OMAP4460. The inicall "cns3xxx_pcie_init" does not check which
      hardware it's running on and just tries to access to its specific
      registers. Now call it from .init_late callback from the two
      machine descriptors.
      Signed-off-by: default avatarXia Kaixu <kaixu.xia@linaro.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Anton Vorontsov <anton@enomsg.org>
      Cc: Felix Fietkau <nbd@openwrt.org>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: linaro-kernel@lists.linaro.org
      Cc: linux-arm-kernel@lists.infradead.org
  9. 03 Sep, 2014 2 commits
  10. 31 Aug, 2014 2 commits
    • Guenter Roeck's avatar
      unicore32: Fix build error · ca98565a
      Guenter Roeck authored
      unicore32 builds fail with
        arch/unicore32/kernel/signal.c: In function ‘setup_frame’:
        arch/unicore32/kernel/signal.c:257: error: ‘usig’ undeclared (first use in this function)
        arch/unicore32/kernel/signal.c:279: error: ‘usig’ undeclared (first use in this function)
        arch/unicore32/kernel/signal.c: In function ‘handle_signal’:
        arch/unicore32/kernel/signal.c:306: warning: unused variable ‘tsk’
        arch/unicore32/kernel/signal.c: In function ‘do_signal’:
        arch/unicore32/kernel/signal.c:376: error: implicit declaration of function ‘get_signsl’
        make[1]: *** [arch/unicore32/kernel/signal.o] Error 1
        make: *** [arch/unicore32/kernel/signal.o] Error 2
      Bisect points to commit 649671c9 ("unicore32: Use get_signal()
      This code never even compiled.  Reverting the patch does not work, since
      previously used functions no longer exist, so try to fix it up.  Compile
      tested only.
      Fixes: 649671c9
       ("unicore32: Use get_signal() signal_setup_done()")
      Cc: Richard Weinberger <richard@nod.at>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Alex Shi's avatar
      vexpress/spc: fix a build warning on array bounds · e160cc17
      Alex Shi authored
      With ARCH_VEXPRESS_SPC option, kernel build has the following
      arch/arm/mach-vexpress/spc.c: In function ‘ve_spc_clk_init’:
      arch/arm/mach-vexpress/spc.c:431:38: warning: array subscript is below array bounds [-Warray-bounds]
        struct ve_spc_opp *opps = info->opps[cluster];
      since 'cluster' maybe '-1' in UP system. This patch does a active
      checking to fix this issue.
      Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
      Acked-by: default avatarPawel Moll <pawel.moll@arm.com>
      Acked-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
  11. 29 Aug, 2014 9 commits
  12. 28 Aug, 2014 1 commit
    • Tony Lindgren's avatar
      mfd: twl4030-power: Fix PM idle pin configuration to not conflict with regulators · daebabd5
      Tony Lindgren authored
      Commit 43fef47f (mfd: twl4030-power: Add a configuration to turn
      off oscillator during off-idle) added support for configuring the PMIC
      to cut off resources during deeper idle states to save power.
      This however caused regression for n900 display power that needed the
      PMIC configuration to be disabled with commit d937678a (ARM: dts:
      Revert enabling of twl configuration for n900).
      Turns out the root cause of the problem is that we must use
      TWL4030_RESCONFIG_UNDEF instead of DEV_GRP_NULL to avoid disabling
      regulators that may have been enabled before the init function
      for twl4030-power.c runs. With TWL4030_RESCONFIG_UNDEF we let the
      regulator framework control the regulators like it should. Here we
      need to only configure the sys_clken and sys_off_mode triggers for
      the regulators that cannot be done by the regulator framework as
      it's not running at that point.
      This allows us to enable the PMIC configuration for n900.
      Fixes: 43fef47f
       (mfd: twl4030-power: Add a configuration to turn off oscillator during off-idle)
      Cc: stable@vger.kernel.org # v3.16
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Tested-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
  13. 27 Aug, 2014 6 commits