diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-03-07 19:28:15 -0700 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-03-07 19:28:15 -0700 |
commit | 694606c4ef54f596bfb2a7c1d4de8ac0e096a636 (patch) | |
tree | df003728c856b381a58b5aa27d74d1457b99babd /arch/arm/mach-mx5 | |
parent | 4cb49fec12e219ec174e04157f71c00f63eb4ce4 (diff) | |
download | blackbird-obmc-linux-694606c4ef54f596bfb2a7c1d4de8ac0e096a636.tar.gz blackbird-obmc-linux-694606c4ef54f596bfb2a7c1d4de8ac0e096a636.zip |
OMAP2+: powerdomain: add pwrdm_can_ever_lose_context()
Some drivers wish to know whether the device that they control can
ever lose context, for example, when the device's enclosing
powerdomain loses power. They can use this information to determine
whether it is necessary to save and restore device context, or whether
it can be skipped. Implement the powerdomain portion of this by
adding the function pwrdm_can_ever_lose_context(). This is not for
use directly from driver code, but instead is intended to be called
from driver-subarch integration code (i.e., arch/arm/*omap* code).
Currently, the result from this function should be passed into the
driver code via struct platform_data, but at some point this should
be part of some common or OMAP-specific device code.
While here, update file copyrights.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-mx5')
0 files changed, 0 insertions, 0 deletions