Merge tag 'v5.5-rc3' into sched/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
@@ -67,7 +67,7 @@ static struct cpuidle_driver cpuidle_driver = {
|
||||
.enter = cpuidle_sleep_enter,
|
||||
.name = "C2",
|
||||
.desc = "SuperH Sleep Mode [SF]",
|
||||
.disabled = true,
|
||||
.flags = CPUIDLE_FLAG_UNUSABLE,
|
||||
},
|
||||
{
|
||||
.exit_latency = 2300,
|
||||
@@ -76,7 +76,7 @@ static struct cpuidle_driver cpuidle_driver = {
|
||||
.enter = cpuidle_sleep_enter,
|
||||
.name = "C3",
|
||||
.desc = "SuperH Mobile Standby Mode [SF]",
|
||||
.disabled = true,
|
||||
.flags = CPUIDLE_FLAG_UNUSABLE,
|
||||
},
|
||||
},
|
||||
.safe_state_index = 0,
|
||||
@@ -86,10 +86,10 @@ static struct cpuidle_driver cpuidle_driver = {
|
||||
int __init sh_mobile_setup_cpuidle(void)
|
||||
{
|
||||
if (sh_mobile_sleep_supported & SUSP_SH_SF)
|
||||
cpuidle_driver.states[1].disabled = false;
|
||||
cpuidle_driver.states[1].flags = CPUIDLE_FLAG_NONE;
|
||||
|
||||
if (sh_mobile_sleep_supported & SUSP_SH_STANDBY)
|
||||
cpuidle_driver.states[2].disabled = false;
|
||||
cpuidle_driver.states[2].flags = CPUIDLE_FLAG_NONE;
|
||||
|
||||
return cpuidle_register(&cpuidle_driver, NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user