aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sh_mmcif.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-12-30 13:47:18 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-13 13:19:58 +0100
commit8020f71117042ed82287e4f51c48b57ce4c783df (patch)
tree387ae5254bd8de4c61ac20ba4e928d1b9a28e424 /drivers/mmc/host/sh_mmcif.c
parentmmc: sh_mmcif: Remove unused ->get_cd() platform callback (diff)
downloadlinux-dev-8020f71117042ed82287e4f51c48b57ce4c783df.tar.xz
linux-dev-8020f71117042ed82287e4f51c48b57ce4c783df.zip
mmc: sh_mmcif: Remove unused ccs_unsupported from the platform data
There are currently no users of the ccs_unsupported member from the platform data, so let's remove it. Note, as some of the sh_mmcif variants may not support ccs, let's keep the current code in the driver, which deals with this. For future support, we should invent a DT binding instead, but let's leave that until it's needed. Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sh_mmcif.c')
-rw-r--r--drivers/mmc/host/sh_mmcif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index 7ba92a425ee0..9fa8ce3fbb1b 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -1427,7 +1427,7 @@ static int sh_mmcif_probe(struct platform_device *pdev)
host->mmc = mmc;
host->addr = reg;
host->timeout = msecs_to_jiffies(10000);
- host->ccs_enable = !pd || !pd->ccs_unsupported;
+ host->ccs_enable = true;
host->clk_ctrl2_enable = pd && pd->clk_ctrl2_present;
host->pd = pdev;