Commit 8020f711 authored by Ulf Hansson's avatar Ulf Hansson

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: default avatarUlf Hansson <ulf.hansson@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5957eeba
...@@ -1427,7 +1427,7 @@ static int sh_mmcif_probe(struct platform_device *pdev) ...@@ -1427,7 +1427,7 @@ static int sh_mmcif_probe(struct platform_device *pdev)
host->mmc = mmc; host->mmc = mmc;
host->addr = reg; host->addr = reg;
host->timeout = msecs_to_jiffies(10000); 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->clk_ctrl2_enable = pd && pd->clk_ctrl2_present;
host->pd = pdev; host->pd = pdev;
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
struct sh_mmcif_plat_data { struct sh_mmcif_plat_data {
unsigned int slave_id_tx; /* embedded slave_id_[tr]x */ unsigned int slave_id_tx; /* embedded slave_id_[tr]x */
unsigned int slave_id_rx; unsigned int slave_id_rx;
bool ccs_unsupported : 1;
bool clk_ctrl2_present : 1; bool clk_ctrl2_present : 1;
u8 sup_pclk; /* 1 :SH7757, 0: SH7724/SH7372 */ u8 sup_pclk; /* 1 :SH7757, 0: SH7724/SH7372 */
unsigned long caps; unsigned long caps;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment