struct mmc_request *mrq = host->mrq;
        struct mmc_command *cmd = mrq->cmd;
        struct mmc_data *data = mrq->data;
+       struct device *dev = &host->pdev->dev;
 
        unsigned int data_size = 0;
        int err;
        }
 
        mutex_lock(&pcr->pcr_mutex);
+       pm_runtime_get_sync(dev);
 
        rtsx_pci_start_run(pcr);
 
                        data->bytes_xfered = data->blocks * data->blksz;
        }
 
+       pm_runtime_mark_last_busy(dev);
+       pm_runtime_put_autosuspend(dev);
        mutex_unlock(&pcr->pcr_mutex);
 
 finish:
 {
        struct realtek_pci_sdmmc *host = mmc_priv(mmc);
        struct rtsx_pcr *pcr = host->pcr;
+       struct device *dev = &host->pdev->dev;
 
        if (host->eject)
                return;
                return;
 
        mutex_lock(&pcr->pcr_mutex);
+       pm_runtime_get_sync(dev);
 
        rtsx_pci_start_run(pcr);
 
        rtsx_pci_switch_clock(pcr, ios->clock, host->ssc_depth,
                        host->initial_mode, host->double_clk, host->vpclk);
 
+       pm_runtime_mark_last_busy(dev);
+       pm_runtime_put_autosuspend(dev);
        mutex_unlock(&pcr->pcr_mutex);
 }
 
 {
        struct realtek_pci_sdmmc *host = mmc_priv(mmc);
        struct rtsx_pcr *pcr = host->pcr;
+       struct device *dev = &host->pdev->dev;
        int ro = 0;
        u32 val;
 
                return -ENOMEDIUM;
 
        mutex_lock(&pcr->pcr_mutex);
+       pm_runtime_get_sync(dev);
 
        rtsx_pci_start_run(pcr);
 
        if (val & SD_WRITE_PROTECT)
                ro = 1;
 
+       pm_runtime_mark_last_busy(dev);
+       pm_runtime_put_autosuspend(dev);
        mutex_unlock(&pcr->pcr_mutex);
 
        return ro;
 {
        struct realtek_pci_sdmmc *host = mmc_priv(mmc);
        struct rtsx_pcr *pcr = host->pcr;
+       struct device *dev = &host->pdev->dev;
        int cd = 0;
        u32 val;
 
                return cd;
 
        mutex_lock(&pcr->pcr_mutex);
+       pm_runtime_get_sync(dev);
 
        rtsx_pci_start_run(pcr);
 
        if (val & SD_EXIST)
                cd = 1;
 
+       pm_runtime_mark_last_busy(dev);
+       pm_runtime_put_autosuspend(dev);
        mutex_unlock(&pcr->pcr_mutex);
 
        return cd;
 {
        struct realtek_pci_sdmmc *host = mmc_priv(mmc);
        struct rtsx_pcr *pcr = host->pcr;
+       struct device *dev = &host->pdev->dev;
        int err = 0;
        u8 voltage;
 
                return err;
 
        mutex_lock(&pcr->pcr_mutex);
+       pm_runtime_get_sync(dev);
 
        rtsx_pci_start_run(pcr);
 
        err = rtsx_pci_write_register(pcr, SD_BUS_STAT,
                        SD_CLK_TOGGLE_EN | SD_CLK_FORCE_STOP, 0);
 
+       pm_runtime_mark_last_busy(dev);
+       pm_runtime_put_autosuspend(dev);
        mutex_unlock(&pcr->pcr_mutex);
 
        return err;
 {
        struct realtek_pci_sdmmc *host = mmc_priv(mmc);
        struct rtsx_pcr *pcr = host->pcr;
+       struct device *dev = &host->pdev->dev;
        int err = 0;
 
        if (host->eject)
                return err;
 
        mutex_lock(&pcr->pcr_mutex);
+       pm_runtime_get_sync(dev);
 
        rtsx_pci_start_run(pcr);
 
                err = sd_change_phase(host, DDR50_RX_PHASE(pcr), true);
 
 out:
+       pm_runtime_mark_last_busy(dev);
+       pm_runtime_put_autosuspend(dev);
        mutex_unlock(&pcr->pcr_mutex);
 
        return err;
 
        realtek_init_host(host);
 
-       if (pcr->rtd3_en) {
-               pm_runtime_set_autosuspend_delay(&pdev->dev, 5000);
-               pm_runtime_use_autosuspend(&pdev->dev);
-               pm_runtime_enable(&pdev->dev);
-       }
-
+       pm_runtime_no_callbacks(&pdev->dev);
+       pm_runtime_set_active(&pdev->dev);
+       pm_runtime_enable(&pdev->dev);
+       pm_runtime_set_autosuspend_delay(&pdev->dev, 200);
+       pm_runtime_mark_last_busy(&pdev->dev);
+       pm_runtime_use_autosuspend(&pdev->dev);
 
        mmc_add_host(mmc);
 
        pcr->slots[RTSX_SD_CARD].card_event = NULL;
        mmc = host->mmc;
 
-       if (pcr->rtd3_en) {
-               pm_runtime_dont_use_autosuspend(&pdev->dev);
-               pm_runtime_disable(&pdev->dev);
-       }
-
        cancel_work_sync(&host->work);
 
        mutex_lock(&host->host_mutex);
 
        flush_work(&host->work);
 
+       pm_runtime_dont_use_autosuspend(&pdev->dev);
+       pm_runtime_disable(&pdev->dev);
+
        mmc_free_host(mmc);
 
        dev_dbg(&(pdev->dev),