1. 18 4月, 2013 1 次提交
  2. 06 11月, 2012 3 次提交
  3. 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
  4. 02 7月, 2012 1 次提交
  5. 17 4月, 2012 1 次提交
  6. 15 3月, 2012 1 次提交
  7. 23 2月, 2012 5 次提交
  8. 03 2月, 2012 3 次提交
  9. 21 1月, 2012 1 次提交
  10. 28 11月, 2011 2 次提交
  11. 08 8月, 2011 1 次提交
  12. 27 7月, 2011 1 次提交
  13. 16 11月, 2010 1 次提交
  14. 26 10月, 2010 2 次提交
  15. 11 11月, 2009 1 次提交
  16. 02 7月, 2009 1 次提交
  17. 02 4月, 2009 1 次提交
  18. 23 2月, 2009 1 次提交
  19. 06 9月, 2008 1 次提交
  20. 07 8月, 2008 2 次提交
  21. 10 7月, 2008 1 次提交
  22. 29 4月, 2008 1 次提交
  23. 04 4月, 2008 2 次提交
  24. 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
  25. 26 1月, 2008 1 次提交
  26. 19 10月, 2007 2 次提交
  27. 02 7月, 2007 1 次提交
    • R
      PM: introduce set_target method in pm_ops · 2391dae3
      Rafael J. Wysocki 提交于
      Commit 52ade9b3 changed the suspend code
      ordering to execute pm_ops->prepare() after the device model per-device
      .suspend() calls in order to fix some ACPI-related issues.  Unfortunately, it
      broke the at91 platform which assumed that pm_ops->prepare() would be called
      before suspending devices.
      
      at91 used pm_ops->prepare() to get notified of the target system sleep state,
      so that it could use this information while suspending devices.  However, with
      the current suspend code ordering pm_ops->prepare() is called too late for
      this purpose.  Thus, at91 needs an additional method in 'struct pm_ops' that
      will be used for notifying the platform of the target system sleep state.
      Moreover, in the future such a method will also be needed by ACPI.
      
      This patch adds the .set_target() method to 'struct pm_ops' and makes the
      suspend code call it, if implemented, before executing the device model
      per-device .suspend() calls.  It also modifies the at91 code to use
      pm_ops->set_target() instead of pm_ops->prepare().
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2391dae3