summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2013-01-29 20:45:09 (GMT)
committerPaul Walmsley <paul@pwsan.com>2013-01-29 21:59:57 (GMT)
commitc4978fba6b2d4e3a584d72c067a371871fecbedc (patch)
tree75add16022eb4e71ae50e1aecb42d1d5a9f420ab /samples
parentf8457c2d8be94779c8c460060e536d3a2a02c8d8 (diff)
downloadlinux-fsl-qoriq-c4978fba6b2d4e3a584d72c067a371871fecbedc.tar.xz
ARM: OMAP2+: PM/powerdomain: move omap_set_pwrdm_state() to powerdomain code
Move omap_set_pwrdm_state() from the PM code to the powerdomain code, and refactor it to split it up into several functions. A subsequent patch will rename it to conform with the existing powerdomain function names. This version includes some additional documentation, based on a suggestion from Jean Pihet. It also modifies omap_set_pwrdm_state() to not bail out early unless both the powerdomain current power state and the next power state are equal. (Previously it would terminate early if the next power state was equal to the target power state, which was insufficiently rigorous.) Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Jean Pihet <jean.pihet@newoldbits.com> Cc: Kevin Hilman <khilman@deeprootsystems.com> Cc: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions