Message ID | 8C0DD4AF-253D-47E2-88BC-90375FE7A782@marvell.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/mmc/host/sdhci-mmp2.c b/drivers/mmc/host/sdhci-mmp2.c index 6824177..7303421 100644 --- a/drivers/mmc/host/sdhci-mmp2.c +++ b/drivers/mmc/host/sdhci-mmp2.c @@ -39,7 +39,6 @@ #define DRIVER_NAME "sdhci-mmp2" -#define HOST_CTRL_2 0x3E #define ASYNC_INT_EN (1 << 14) #define SD_CFG_FIFO_PARAM 0x100 @@ -148,9 +147,9 @@ static void programFIFO(struct sdhci_host *host, int enable) tmp = readw(host->ioaddr + HOST_CTRL_2); if (enable) - tmp |= ASYNC_INT_EN; + tmp |= SDCTRL_2_ASYNC_INT_EN; else - tmp &= ~ASYNC_INT_EN; + tmp &= ~SDCTRL_2_ASYNC_INT_EN; writew(tmp, host->ioaddr + HOST_CTRL_2); }