Commit 7003fecb authored by Jingoo Han's avatar Jingoo Han Committed by Chris Ball

mmc: sdhci-s3c: use S3C_SDHCI_CONTROL2 instead of hardcoded offset value

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 053b3ce6
......@@ -80,7 +80,7 @@ static void sdhci_s3c_check_sclk(struct sdhci_host *host)
tmp &= ~S3C_SDHCI_CTRL2_SELBASECLK_MASK;
tmp |= ourhost->cur_clk << S3C_SDHCI_CTRL2_SELBASECLK_SHIFT;
writel(tmp, host->ioaddr + 0x80);
writel(tmp, host->ioaddr + S3C_SDHCI_CONTROL2);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment