summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
index f7754426b4..d2438655e2 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
@@ -615,7 +615,7 @@ static inline void cpm_select_msc_clk(unsigned int rate)
if (div == 0)
div = 1;
- REG_CPM_MSCCDR = MSCCDR_MCS | (div - 1);
+ REG_CPM_MSCCDR = (div - 1);
}
/* Set the MMC clock frequency */