summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-01-26 08:43:36 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2016-02-29 11:03:11 +0100
commit345efee3541f5931fbbd0f0bcebe9baa3ff2f5c2 (patch)
tree0b23beb2fecffb6a76af1a1ec553fa9afb37f30a /drivers/mmc
parent3744415cc4bc732dde6491295ec628a7e3b33754 (diff)
downloadop-kernel-dev-345efee3541f5931fbbd0f0bcebe9baa3ff2f5c2.zip
op-kernel-dev-345efee3541f5931fbbd0f0bcebe9baa3ff2f5c2.tar.gz
mmc: dw_mmc: remove repetitive clear interrupt
dw_mci_probe clear interrupts and disable all interrupts firstly. While it clear interrupt again before enable some interrupts. We can't see any reason to clear it twice here, so remove the second one. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/dw_mmc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 341e0f0..0394ea8 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -3130,7 +3130,6 @@ int dw_mci_probe(struct dw_mci *host)
* Enable interrupts for command done, data over, data empty,
* receive ready and error such as transmit, receive timeout, crc error
*/
- mci_writel(host, RINTSTS, 0xFFFFFFFF);
mci_writel(host, INTMASK, SDMMC_INT_CMD_DONE | SDMMC_INT_DATA_OVER |
SDMMC_INT_TXDR | SDMMC_INT_RXDR |
DW_MCI_ERROR_FLAGS);
OpenPOWER on IntegriCloud