summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sh_mmcif.c
diff options
context:
space:
mode:
authorTeppei Kamijou <teppei.kamijou.yb@renesas.com>2012-12-12 15:38:09 +0100
committerChris Ball <cjb@laptop.org>2013-02-11 12:51:24 -0500
commitf9fd54f22e79046208ff1656afff7b5f9b7433cb (patch)
treee8b526319f82a925da5643533682dc67be6d1b6f /drivers/mmc/host/sh_mmcif.c
parent555061f987787a966b01e62517b9befbd35e2f89 (diff)
downloadblackbird-op-linux-f9fd54f22e79046208ff1656afff7b5f9b7433cb.tar.gz
blackbird-op-linux-f9fd54f22e79046208ff1656afff7b5f9b7433cb.zip
mmc: sh_mmcif: Use msecs_to_jiffies() for host->timeout
Timeout period should be properly normalized using msecs_to_jiffies(). Signed-off-by: Teppei Kamijou <teppei.kamijou.yb@renesas.com> Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.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 6d4328dce320..6d3644430877 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -1348,7 +1348,7 @@ static int sh_mmcif_probe(struct platform_device *pdev)
host = mmc_priv(mmc);
host->mmc = mmc;
host->addr = reg;
- host->timeout = 1000;
+ host->timeout = msecs_to_jiffies(1000);
host->pd = pdev;
OpenPOWER on IntegriCloud