diff options
author | Chaotian Jing <chaotian.jing@mediatek.com> | 2015-09-22 08:00:44 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-10-26 15:59:59 +0100 |
commit | 8131e815f723ec8fee018d6fa34348d61c0e54b8 (patch) | |
tree | 850ba89712acddb4d89acba84c8325fb93fba8fd /drivers/mmc | |
parent | mmc: debugfs: implement ios show for driver type (diff) | |
download | linux-8131e815f723ec8fee018d6fa34348d61c0e54b8.tar.xz linux-8131e815f723ec8fee018d6fa34348d61c0e54b8.zip |
mmc: mediatek: Add MMC_CAP_RUNTIME_RESUME support
Add MMC_CAP_RUNTIME_RESUME support to save resume time
Drop unnecessary SDC_ARG write
Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mtk-sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 7153500dd007..b2e89d39e7b3 100644 --- a/drivers/mmc/host/mtk-sd.c +++ b/drivers/mmc/host/mtk-sd.c @@ -729,7 +729,6 @@ static bool msdc_cmd_done(struct msdc_host *host, int events, MSDC_INTEN_RSPCRCERR | MSDC_INTEN_CMDTMO | MSDC_INTEN_ACMDRDY | MSDC_INTEN_ACMDCRCERR | MSDC_INTEN_ACMDTMO); - writel(cmd->arg, host->base + SDC_ARG); if (cmd->flags & MMC_RSP_PRESENT) { if (cmd->flags & MMC_RSP_136) { @@ -1302,6 +1301,7 @@ static int msdc_drv_probe(struct platform_device *pdev) mmc->f_min = host->src_clk_freq / (4 * 255); mmc->caps |= MMC_CAP_ERASE | MMC_CAP_CMD23; + mmc->caps |= MMC_CAP_RUNTIME_RESUME; /* MMC core transfer sizes tunable parameters */ mmc->max_segs = MAX_BD_NUM; mmc->max_seg_size = BDMA_DESC_BUFLEN; |