zynqmp: pm: Move pm_client_wakeup call from pm_req_wakeup
authorFilip Drazic <filip.drazic@aggios.com>
Tue, 7 Feb 2017 11:03:56 +0000 (12:03 +0100)
committerSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 17 May 2018 09:41:52 +0000 (15:11 +0530)
commit9feba2e7dde83566805c39e750bd893a55025d08
tree8246abe940ae942df05c7434d196628ccdb071e8
parentc496f5af54c69026ee3266b8bcea4789ddd3bfab
zynqmp: pm: Move pm_client_wakeup call from pm_req_wakeup

Call to pm_client_wakeup from pm_req_wakeup prevented the PM API
call to be used to wake up non-APU processor (e.g. from higher ELs),
since it clears power down request for specified APU processor.
Move this function out of pm_client_wakeup to allow passing wake up
requests to the PMU for other processor in the system.

Signed-off-by: Filip Drazic <filip.drazic@aggios.com>
Acked-by: Will Wong <willw@xilinx.com>
plat/xilinx/zynqmp/plat_psci.c
plat/xilinx/zynqmp/pm_service/pm_api_sys.c