projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613c25e
)
mmc: sh_mmcif: Use msecs_to_jiffies() for host->timeout
author
Teppei Kamijou
<teppei.kamijou.yb@renesas.com>
Wed, 12 Dec 2012 14:38:09 +0000
(15:38 +0100)
committer
Chris Ball
<cjb@laptop.org>
Mon, 28 Jan 2013 11:51:32 +0000
(06:51 -0500)
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>
drivers/mmc/host/sh_mmcif.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sh_mmcif.c
b/drivers/mmc/host/sh_mmcif.c
index 6d4328dce320739c385f53823824dad06778cd5e..6d36444308778bcd6cecb0a66e02f9a0bcb2ad85 100644
(file)
--- 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;