mmc: dw_mmc: fix the wrong pointer type
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 17 Dec 2018 08:50:22 +0000 (17:50 +0900)
committerJaehoon 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

index 3c6d5ca06475402b89864691d9248c365397e358..9c808f7f548e1299235fa7f16f7e2f4d32122e5e 100644 (file)
@@ -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);