aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2009-11-10 08:33:01 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-11-24 10:06:26 +0000
commitb43149c168ce4069ce8828b1ceb8f7eb42bc4b82 (patch)
treea9b7b8f2bc627c17ae98d3b8bf6ed85c7cb6c52e /drivers/mmc/host
parent40f5b07832ce29e66f42b61a2e9a1fd94783c136 (diff)
downloadkernel_samsung_aries-b43149c168ce4069ce8828b1ceb8f7eb42bc4b82.zip
kernel_samsung_aries-b43149c168ce4069ce8828b1ceb8f7eb42bc4b82.tar.gz
kernel_samsung_aries-b43149c168ce4069ce8828b1ceb8f7eb42bc4b82.tar.bz2
ARM: 5785/1: Use ST vendor enum instead of numeral
This fixes a leftover instance of using the 0x80 numeral instead of the new AMBA_VENDOR_ST enum in the MMCI/PL180 driver. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/mmci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 705a589..90d168a 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -56,7 +56,7 @@ static void mmci_set_clkreg(struct mmci_host *host, unsigned int desired)
clk = 255;
host->cclk = host->mclk / (2 * (clk + 1));
}
- if (host->hw_designer == 0x80)
+ if (host->hw_designer == AMBA_VENDOR_ST)
clk |= MCI_FCEN; /* Bug fix in ST IP block */
clk |= MCI_CLK_ENABLE;
/* This hasn't proven to be worthwhile */