MLK-17074-3 PM / Domains: use default state 0 to enter for multi states domains
authorDong Aisheng <aisheng.dong@nxp.com>
Thu, 30 Nov 2017 09:32:08 +0000 (17:32 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit46af585d9d69e140768dda811f2aa926e43d1ecf
treed317a12957fbad444243d2c56cd2d54ee2ff8589
parent2cf894fe86171f12361169ead27d66692e822f7a
MLK-17074-3 PM / Domains: use default state 0 to enter for multi states domains

If no valid state idx specified by governor, we use the default state_idx
0 to enter in case the domain has multi low power states.

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>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/base/power/domain.c