We can detect whether the system is going to suspend by using pm_suspend_via_firmware() API. So, this patch series update both PSCI and MMC driver for my environment (r8a77951-salvator-xs). We can apply each patch to each subsystem without any dependency. Changes from v2: - Fix typo of function name in patch2. - Remove RFC. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=305523 Changes from v1: - Use pm_suspend_via_firmware() API instead of pm_suspend_target_state. - Modify the psci driver to call pm_set_suspend_via_firmware. https://patchwork.kernel.org/patch/11557505/ Yoshihiro Shimoda (2): firmware: psci: call pm_set_suspend_via_firmware() mmc: core: Call mmc_poweroff_nofity() if pm_suspend_via_firmware() drivers/firmware/psci/psci.c | 8 ++++++++ drivers/mmc/core/mmc.c | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) -- 2.7.4