1. 20 12月, 2013 1 次提交
  2. 17 10月, 2013 1 次提交
    • D
      ARM: at91: cpuidle: Convert to platform driver · 5ad945ea
      Daniel Lezcano 提交于
      Using the platform driver model is a good way to separate the cpuidle specific
      code from the low level pm code. It allows to remove the dependency between
      these two components.
      
      The platform_device is located in the pm code and a 'set' function has been
      added to set the standby function from the AT91_SOC_START initialization
      function. Each SoC with a cpuidle driver will set the standby function in the
      platform_data field at init time. Then pm code will register the cpuidle
      platform device.
      
      The cpuidle driver will register the platform_driver and use the device's
      platform_data as a standby callback in the idle path.
      
      The at91_pm_enter function contains a { if then else } based on cpu_is_xx
      similar to what was in cpuidle. This is considered dangerous when adding a new
      SoC. Like the cpuidle driver, a standby ops is defined and assigned when the
      SoC init function specifies what is its standby function and reused in the
      at91_pm_enter's 'case' block.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      5ad945ea
  3. 21 6月, 2013 1 次提交
  4. 18 4月, 2013 1 次提交
  5. 14 3月, 2013 1 次提交
  6. 06 11月, 2012 3 次提交
  7. 04 10月, 2012 1 次提交
    • A
      ARM: at91: unused variable in at91_pm_verify_clocks · 9e0e4e11
      Arnd Bergmann 提交于
      The code using the variable 'i' in this function is conditional which
      results in a harmless compiler warning. Using the IS_ENABLED macro
      instead of #ifdef makes the code look nicer and gets rid of the
      warning.
      
      Without this patch, building at91sam9263_defconfig results in:
      
      /home/arnd/linux-arm/arch/arm/mach-at91/pm.c: In function 'at91_pm_verify_clocks':
      /home/arnd/linux-arm/arch/arm/mach-at91/pm.c:137:6: warning: unused variable 'i' [-Wunused-variable]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      9e0e4e11
  8. 02 7月, 2012 1 次提交
  9. 17 4月, 2012 1 次提交
  10. 15 3月, 2012 1 次提交
  11. 23 2月, 2012 5 次提交
  12. 03 2月, 2012 3 次提交
  13. 21 1月, 2012 1 次提交
  14. 28 11月, 2011 2 次提交
  15. 08 8月, 2011 1 次提交
  16. 27 7月, 2011 1 次提交
  17. 16 11月, 2010 1 次提交
  18. 26 10月, 2010 2 次提交
  19. 11 11月, 2009 1 次提交
  20. 02 7月, 2009 1 次提交
  21. 02 4月, 2009 1 次提交
  22. 23 2月, 2009 1 次提交
  23. 06 9月, 2008 1 次提交
  24. 07 8月, 2008 2 次提交
  25. 10 7月, 2008 1 次提交
  26. 29 4月, 2008 1 次提交
  27. 04 4月, 2008 2 次提交
  28. 02 2月, 2008 1 次提交
    • R
      Suspend: Introduce begin() and end() callbacks · c697eece
      Rafael J. Wysocki 提交于
      On ACPI systems the target state set by acpi_pm_set_target() is
      reset by acpi_pm_finish(), but that need not be called if the
      suspend fails.  All platforms that use the .set_target() global
      suspend callback are affected by analogous issues.
      
      For this reason, we need an additional global suspend callback that
      will reset the target state regardless of whether or not the suspend
      is successful.  Also, it is reasonable to rename the .set_target()
      callback, since it will be used for a different purpose on ACPI
      systems (due to ACPI 1.0x code ordering requirements).
      
      Introduce the global suspend callback .end() to be executed at the
      end of the suspend sequence and rename the .set_target() global
      suspend callback to .begin().
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      c697eece