mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-29 00:00:25 +02:00
MMC bus suspend/resume was using legacy method. In system entering S3 patch, the suspend/resume function cannot be called since MMC bus also implemented the new suspend/resume method (dev_pm_ops struct). So if dev_pm_ops is defined but .suspend/.resume callbacks not implemented, mmc_queue will not be suspended/resumed. This patch will remove the legacy suspend/resume method and change to use the new method totally. Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: Sujith Reddy Thumma <sthumma@codeaurora.org>