soc: ti: pm33xx: Use cpu_idle_poll_ctrl in suspend path
authorDave Gerlach <d-gerlach@ti.com>
Fri, 2 Nov 2018 10:29:49 +0000 (15:59 +0530)
committerTero Kristo <t-kristo@ti.com>
Tue, 6 Nov 2018 13:25:30 +0000 (15:25 +0200)
commitd2a0d6c71039319a5a0a2def4257d070259598c5
tree320a504015577cdca096b7bd412fee1ec049fea5
parent30007f05ef2b200ca5baefb4434e376b9daa098a
soc: ti: pm33xx: Use cpu_idle_poll_ctrl in suspend path

Call cpu_idle_poll_ctrl at beginning and end of suspend path to avoid
races between cpuidle and suspend trying to communicate with the
wkup_m3, during suspend we only want it configured for entry to suspend.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
drivers/soc/ti/pm33xx.c