diff options
author | Teppei Kamijou <teppei.kamijou.yb@renesas.com> | 2012-12-12 14:38:09 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-11 17:51:24 (GMT) |
commit | f9fd54f22e79046208ff1656afff7b5f9b7433cb (patch) | |
tree | e8b526319f82a925da5643533682dc67be6d1b6f /drivers/mmc | |
parent | 555061f987787a966b01e62517b9befbd35e2f89 (diff) | |
download | linux-fsl-qoriq-f9fd54f22e79046208ff1656afff7b5f9b7433cb.tar.xz |
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')
-rw-r--r-- | drivers/mmc/host/sh_mmcif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c index 6d4328d..6d36444 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; |