1. Jan 21, 2012
    • Nicolas Pitre's avatar
      ARM: clean up idle handlers · 4fa20439
      Nicolas Pitre authored
      
      
      Let's factor out the need_resched() check instead of having it duplicated
      in every pm_idle implementations to avoid inconsistencies (omap2_pm_idle
      is missing it already).
      
      The forceful re-enablement of IRQs after pm_idle has returned can go.
      The warning certainly doesn't trigger for existing users.
      
      To get rid of the pm_idle calling convention oddity, let's introduce
      arm_pm_idle() allowing for the local_irq_enable() to be factored out
      from SOC specific implementations. The default pm_idle function becomes
      a wrapper for arm_pm_idle and it takes care of enabling IRQs closer to
      where they are initially disabled.
      
      And finally move the comment explaining the reason for that turning off
      of IRQs to a more proper location.
      
      Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-and-tested-by: default avatarJamie Iles <jamie@jamieiles.com>
      4fa20439
    • Nicolas Pitre's avatar
      ARM: OMAP1: Fix pm_idle during suspend · 3c0b2cef
      Nicolas Pitre authored
      Commit 9ccdac36
      
       ([ARM] idle:
      clean up pm_idle calling, obey hlt_counter) removed a check
      for NULL pm_idle.
      
      Replace the NULL assignment in the OMAP1 code with disable_hlt()
      to be in sync with the core code and restore the intended behavior.
      
      Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      3c0b2cef
  2. Jan 20, 2012
  3. Jan 19, 2012
  4. Jan 18, 2012