1. 14 Jan, 2016 1 commit
  2. 05 Jan, 2016 1 commit
  3. 03 Jan, 2016 1 commit
    • Russell King's avatar
      clk: fix clk-gpio.c with optional clock= DT property · 7ed88aa2
      Russell King authored
      When the clock DT property is not given, of_clk_get_parent_count()
      returns -ENOENT, which then tries to allocate -2 x 4 bytes of memory,
      which of course fails, causing the whole driver to fail to create
      the clock.
      
      This causes the SolidRun platforms to fail probing the SDHCI1 interface
      which is connected to the WiFi.
      
      Fix this by detecting errno codes, skipping the allocation, and fixing
      of_clk_gpio_gate_delayed_register_get() to handle a NULL parent_names
      array.
      
      Fixes: 80eeb1f0 ("clk: add gpio controlled clock multiplexer")
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
      7ed88aa2
  4. 02 Jan, 2016 2 commits
  5. 01 Jan, 2016 2 commits
  6. 31 Dec, 2015 2 commits
  7. 25 Dec, 2015 4 commits
  8. 24 Dec, 2015 7 commits
  9. 23 Dec, 2015 9 commits
  10. 22 Dec, 2015 8 commits
  11. 21 Dec, 2015 2 commits
    • Heiko Stuebner's avatar
      clk: rockchip: only enter pll slow-mode directly before reboots on rk3288 · dfff24bd
      Heiko Stuebner authored
      As commit 1d33929e ("clk: rockchip: switch PLLs to slow mode before
      reboot for rk3288") states, switching the PLLs to slow-mode is only
      necessary when rebooting using the soft-reset done through the CRU.
      
      The dwc2 controllers used create really big number of interrupts in
      special constellations involving usb-hubs and their number is so high,
      it can even overwhelm the interrupt handler if the cpu-speed os to low.
      
      Right now the PLLs are put into slow-mode in a shutdown syscore_ops
      callback which means it happens on all reboots (not only the soft-reset
      ones) and even on poweroff actions.
      
      This can result in the system not powering off and getting stuck instead,
      so we should move the slow-mode change nearer to the actual reboot action.
      
      For this we introduce the possiblity to also set a callback that gets
      called from the restart-handler directly prior to restarting the system
      and move the shutdown-callback to this new option.
      
      With this the slow-mode switch is done only on the necessary reboots
      and also has a smaller possibility of causing artifacts.
      
      Fixes: 1d33929e ("clk: rockchip: switch PLLs to slow mode before reboot for rk3288")
      Signed-off-by: default avatarHeiko Stuebner <heiko.stuebner@collabora.com>
      Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
      dfff24bd
    • Linus Torvalds's avatar
      Linux 4.4-rc6 · 4ef76753
      Linus Torvalds authored
      4ef76753
  12. 20 Dec, 2015 1 commit