diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-03-08 02:28:15 (GMT) |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-03-08 02:28:15 (GMT) |
commit | 694606c4ef54f596bfb2a7c1d4de8ac0e096a636 (patch) | |
tree | df003728c856b381a58b5aa27d74d1457b99babd /arch/arm/mach-omap2/cminst44xx.c | |
parent | 4cb49fec12e219ec174e04157f71c00f63eb4ce4 (diff) | |
download | linux-694606c4ef54f596bfb2a7c1d4de8ac0e096a636.tar.xz |
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-omap2/cminst44xx.c')
0 files changed, 0 insertions, 0 deletions