1. 23 4月, 2013 2 次提交
  2. 09 4月, 2013 2 次提交
  3. 04 9月, 2012 1 次提交
    • R
      ARM: shmobile: Make sh7372 cpuidle handling more straightforward · 5b41147c
      Rafael J. Wysocki 提交于
      The sh7372 cpuidle code uses the same artificially designed routine
      shmobile_cpuidle_enter() as the .enter() callback for all of its
      cpuidle states.  However, shmobile_cpuidle_enter() calls a different
      "enter" function for each state using an array of function pointers
      populated by the sh7372 PM initialization code.  Moreover, the
      states[] array of the shmobile cpuidle driver is populated by that
      code as well, although in principle it just might have been filled
      with static data.
      
      All of that complexity goes away if the sh7372 cpuidle code is
      allowed to define its own cpuidle driver structure that can be passed
      for registration to the common shmobile cpuidle initialization
      routine, so modify the code accordingly.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NMagnus Damm <damm@opensource.se>
      5b41147c
  4. 08 5月, 2012 1 次提交
  5. 29 3月, 2012 1 次提交
  6. 21 3月, 2012 1 次提交
  7. 11 11月, 2011 1 次提交
    • M
      ARM: mach-shmobile: cpuidle single/global and last_state fixes · b73b5c49
      Magnus Damm 提交于
      The following commits break cpuidle on SH-Mobile ARM:
      
      46bcfad7 cpuidle: Single/Global registration of idle states
      e978aa7d cpuidle: Move dev->last_residency update to driver enter routine; remove dev->last_state
      
      This patch remedies these issues by up-porting the SH-Mobile
      code to fit with the above introduced framework changes.
      
      It is worth noting that the new code becomes significantly cleaner,
      so these framework changes are very welcome. At the same time this
      breakage could probably have been avoided by grepping for "last_state"
      and "cpuidle_register_driver".
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b73b5c49
  8. 25 5月, 2011 1 次提交