diff options
author | Elaine Zhang <zhangqing@rock-chips.com> | 2016-03-09 22:22:54 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-03-28 12:06:43 +0200 |
commit | 1fe767a56c32730a947fc2bfcac5d14490bde6ff (patch) | |
tree | aa3f55c6cbecce00eced5ea88e362fc4da17728b /drivers/misc/bmp085-i2c.c | |
parent | soc: rockchip: power-domain: make idle handling optional (diff) | |
download | linux-1fe767a56c32730a947fc2bfcac5d14490bde6ff.tar.xz linux-1fe767a56c32730a947fc2bfcac5d14490bde6ff.zip |
soc: rockchip: power-domain: allow domains only handling idle requests
On some Rockchip SoC there exist child-domains only handling their
idle state with the actual power-state handled by a (shared) parent-
domain.
So allow such types of domains. For them, we can determine their
state (on/off) by checking the inverse idle-state instead.
There exist one special case if both idle as well power handling
were set as not present, but as the domain-data is defined in the
code itself, we can expect the reasonable developer to define them
in a correct way, without adding more checks.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/misc/bmp085-i2c.c')
0 files changed, 0 insertions, 0 deletions