soc: cc13x2: Use residency policy
cc13x2_cc26x2 had its own power policy that was implementing the same logic available in the default residency policy. Also, this policy was unnecessarily setting up a timeout to wakeup the system. This is not necessary, the power subsystem takes care of this. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
05a7039aab
commit
65e4add74e
4 changed files with 1 additions and 153 deletions
|
@ -99,14 +99,8 @@ void pm_power_state_set(struct pm_state_info info)
|
|||
break;
|
||||
|
||||
case PM_STATE_STANDBY:
|
||||
/* schedule the wakeup event */
|
||||
ClockP_start(ClockP_handle((ClockP_Struct *)
|
||||
&PowerCC26X2_module.clockObj));
|
||||
|
||||
/* go to standby mode */
|
||||
Power_sleep(PowerCC26XX_STANDBY);
|
||||
ClockP_stop(ClockP_handle((ClockP_Struct *)
|
||||
&PowerCC26X2_module.clockObj));
|
||||
break;
|
||||
case PM_STATE_SUSPEND_TO_RAM:
|
||||
__fallthrough;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue