forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
555061f987
commit
f9fd54f22e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user