projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3b5929
)
mmc: dw_mmc: fix the wrong pointer type
author
Jaehoon Chung
<jh80.chung@samsung.com>
Mon, 17 Dec 2018 08:50:22 +0000
(17:50 +0900)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Tue, 29 Jan 2019 02:25:40 +0000
(11:25 +0900)
Fix the wrong types from unsigned int to unsigned long.
Change-Id: I24d17685033d7fdbbb8c4e3351dfd8fae1236ef8
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/host/dw_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/dw_mmc.c
b/drivers/mmc/host/dw_mmc.c
index 3c6d5ca06475402b89864691d9248c365397e358..9c808f7f548e1299235fa7f16f7e2f4d32122e5e 100644
(file)
--- a/
drivers/mmc/host/dw_mmc.c
+++ b/
drivers/mmc/host/dw_mmc.c
@@
-1759,7
+1759,7
@@
static void dw_mci_set_drto(struct dw_mci *host)
{
unsigned int drto_clks;
unsigned int drto_ms;
- unsigned
int
irqflags;
+ unsigned
long
irqflags;
drto_clks = mci_readl(host, TMOUT) >> 8;
drto_ms = DIV_ROUND_UP(drto_clks, host->bus_hz / 1000);