MLK-17074-2 PM / Domains: choose the deepest state to enter if no devices using it
authorDong Aisheng <aisheng.dong@nxp.com>
Mon, 27 Nov 2017 09:33:47 +0000 (17:33 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:49:54 +0000 (14:49 -0500)
commit6afdbe72f79960d84cd86545db00dc97d3847863
tree2afba488e5903a37afca2c730bdb59b605d71bad
parent595dba077d0a451ffaeb23a7181cfb4867b0c086
MLK-17074-2 PM / Domains: choose the deepest state to enter if no devices using it

For a domain belongs to no devices anymore, let's choose the deepest state
to enter to save power.

Reviewed-by: Frank Li <frank.li@nxp.com>
Reviewed-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
drivers/base/power/domain.c