• Samuel Holland's avatar
    allwinner: psci: Drop .pwr_domain_pwr_down_wfi callback · 975d076d
    Samuel Holland authored
    
    
    When operating on the local cpu, sunxi_cpu_power_off_self() only "arms"
    the ARISC to perform the power-off process; the SCP waits for the CPU to
    enter WFI before acutally powering it off. Since this matches the
    expected split between .pwr_domain_off and .pwr_domain_pwr_down_wfi, we
    can move the sunxi_cpu_power_off_self() call to sunxi_pwr_domain_off().
    Since that change makes sunxi_pwr_down_wfi() equivalent to the default
    implementation, the callback is no longer needed.
    
    Change-Id: I7d65f66c550d1c69fa5e9945affd7a25b3d3ef42
    Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
    975d076d
sunxi_pm.c 7.45 KB