Skip to contentSkip to conversation

mmc: sdhci-pxav2: No need to clear CLK_GATE_SETTING_BITS before setting it

PATCH New Axel Lin 1 participant 1 message Dec 5, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 mmc: sdhci-pxav2: No need to clear CLK_GATE_SETTING_BITS before setting it

---
 drivers/mmc/host/sdhci-pxav2.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/mmc/host/sdhci-pxav2.c +0 -1
index dbb75bf..a0ec9d2 100644
@@ -78,7 +78,6 @@ static void pxav2_set_private_registers(struct sdhci_host *host, u8 mask)
 			writew(tmp, host->ioaddr + SD_FIFO_PARAM);
 		} else {
 			tmp = readw(host->ioaddr + SD_FIFO_PARAM);
-			tmp &= ~CLK_GATE_SETTING_BITS;
 			tmp |= CLK_GATE_SETTING_BITS;
 			writew(tmp, host->ioaddr + SD_FIFO_PARAM);
 		}
Signature · 1 line
1.7.5.4