diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-03-08 03:28:15 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-03-08 03:28:15 +0100 |
commit | 694606c4ef54f596bfb2a7c1d4de8ac0e096a636 (patch) | |
tree | df003728c856b381a58b5aa27d74d1457b99babd /arch/arm/plat-omap/iommu.c | |
parent | OMAP2+: powerdomain: fix bank power state bitfields (diff) | |
download | linux-694606c4ef54f596bfb2a7c1d4de8ac0e096a636.tar.xz 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/plat-omap/iommu.c')
0 files changed, 0 insertions, 0 deletions