1. 11 2月, 2014 3 次提交
    • P
      ARM: imx6: Initialize low-power mode early again · e7c57ecd
      Philipp Zabel 提交于
      Since commit 9e8147bb
      "ARM: imx6q: move low-power code out of clock driver"
      the kernel fails to boot on i.MX6Q/D if preemption is
      enabled (CONFIG_PREEMPT=y). The kernel just hangs
      before the console comes up.
      
      The above commit moved the initalization of the low-power
      mode setting (enabling clocked WAIT states), which was
      introduced in commit 83ae2098
      "ARM: imx: correct low-power mode setting", from
      imx6q_clks_init to imx6q_pm_init. Now it is called
      much later, after all cores are enabled.
      
      This patch moves the low-power mode initialization back
      to imx6q_clks_init again (and to imx6sl_clks_init).
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NKevin Hilman <khilman@linaro.org>
      e7c57ecd
    • L
      ARM: pxa: fix various compilation problems · 9705e746
      Linus Walleij 提交于
      Due to commit 88f718e3
      "ARM: pxa: delete the custom GPIO header" some drivers fail
      compilation, for example like this:
      
      In file included from sound/soc/pxa/spitz.c:28:0:
      sound/soc/pxa/spitz.c: In function ‘spitz_ext_control’:
      arch/arm/mach-pxa/include/mach/spitz.h:111:30: error:
      ‘PXA_NR_BUILTIN_GPIO’ undeclared (first use in this function)
       #define SPITZ_SCP_GPIO_BASE (PXA_NR_BUILTIN_GPIO)
      (etc.)
      
      This is caused by implicit inclusion of <mach/irqs.h> from
      various board-specific headers under <mach/*> in the PXA
      platform. So we take a sweep over these, and for every such
      header that uses PXA_NR_BUILTIN_GPIO or PXA_GPIO_TO_IRQ()
      we explicitly #include "irqs.h" so that we satisfy the
      dependency in the board include file alone.
      Reported-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Cc: stable@vger.kernel.org # v3.13+
      Signed-off-by: NKevin Hilman <khilman@linaro.org>
      9705e746
    • L
      ARM: pxa: fix compilation problem on AM300EPD board · 29ffa48f
      Linus Walleij 提交于
      This board fails compilation like this:
      arch/arm/mach-pxa/am300epd.c: In function ‘am300_cleanup’:
      arch/arm/mach-pxa/am300epd.c:179:2: error: implicit declaration
      of function ‘PXA_GPIO_TO_IRQ’ [-Werror=implicit-function-declaration]
        free_irq(PXA_GPIO_TO_IRQ(RDY_GPIO_PIN), par);
      
      This was caused by commit 88f718e3
      "ARM: pxa: delete the custom GPIO header"
      
      This is because it was previously getting the macro PXA_GPIO_TO_IRQ
      implicitly from <linux/gpio.h> which in turn implicitly included
      <mach/gpio.h> which in turn included <mach/irqs.h>.
      
      Add the missing include so that the board compiles again.
      Reported-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NKevin Hilman <khilman@linaro.org>
      29ffa48f
  2. 03 2月, 2014 8 次提交
  3. 02 2月, 2014 1 次提交
  4. 01 2月, 2014 17 次提交
  5. 31 1月, 2014 7 次提交
  6. 30 1月, 2014 4 次提交