--- zzzz-none-000/linux-3.10.107/drivers/mmc/host/tifm_sd.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/mmc/host/tifm_sd.c 2021-02-04 17:41:59.000000000 +0000 @@ -952,8 +952,8 @@ if (!(TIFM_SOCK_STATE_OCCUPIED & readl(sock->addr + SOCK_PRESENT_STATE))) { - pr_warning("%s : card gone, unexpectedly\n", - dev_name(&sock->dev)); + pr_warn("%s : card gone, unexpectedly\n", + dev_name(&sock->dev)); return rc; } @@ -1030,7 +1030,7 @@ static int tifm_sd_suspend(struct tifm_dev *sock, pm_message_t state) { - return mmc_suspend_host(tifm_get_drvdata(sock)); + return 0; } static int tifm_sd_resume(struct tifm_dev *sock) @@ -1044,8 +1044,6 @@ if (rc) host->eject = 1; - else - rc = mmc_resume_host(mmc); return rc; }