mmc: sdhci-s3c: use S3C_SDHCI_CONTROL2 instead of hardcoded offset value
Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
053b3ce6c1
commit
7003fecbf0
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue