summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2018-12-17 17:50:22 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2019-01-29 11:25:40 +0900
commit92e27d6399baf3ec13a3ba4a7086e8197e501357 (patch)
tree3037175ca709e1025b1bdfd0b8225a0ca2c38d5c
parentf3b5929c87070e3864b4e96cb04041f2732b874b (diff)
downloadlinux-artik7-92e27d6399baf3ec13a3ba4a7086e8197e501357.tar.gz
linux-artik7-92e27d6399baf3ec13a3ba4a7086e8197e501357.tar.bz2
linux-artik7-92e27d6399baf3ec13a3ba4a7086e8197e501357.zip
mmc: dw_mmc: fix the wrong pointer type
Fix the wrong types from unsigned int to unsigned long. Change-Id: I24d17685033d7fdbbb8c4e3351dfd8fae1236ef8 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r--drivers/mmc/host/dw_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 3c6d5ca06475..9c808f7f548e 100644
--- 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);