pass: rescon: Set default pass level when initializing RESCON 65/172665/2
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 15 Mar 2018 01:00:11 +0000 (10:00 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 15 Mar 2018 06:03:44 +0000 (15:03 +0900)
commit3c97b99d939b0766f9744f0cefe651308a78746d
tree333996faf9124fb897e8c2e9e38f3a127119fa8a
parenteac3132aeb702e90dfd56d772d8a65501586b12d
pass: rescon: Set default pass level when initializing RESCON

Before developed the RESCON (resource controller), CPUHP (cpu hotplug manager)
controls the level directly. CPUHP decides the next level and then ask them
to RESCON in order to control the h/w resource.

So, set default pass level when initializing RESCON in pass_resmon_init()
instead of CPUHP.

Change-Id: I0a8f86b7a781d4cf13e021f9a29537738a8fd70a
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-cpuhp.c
src/pass/pass-rescon.c