tegra: sdhci: Remove set_clock op, not needed
authorTodd Poynor <toddpoynor@google.com>
Thu, 2 Sep 2010 23:13:24 +0000 (16:13 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:17 +0000 (16:28 -0700)
The SDHCI controller specifies a maximum SDCLK speed of 48MHz, which is
now in agreement with the platform clock, and so the SDHCI host max_clk
no longer needs to be overriden.

Change-Id: Ie8c7f643d956cfd1bb83675708336278482c40d8
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/mmc/host/sdhci-tegra.c

index 1b39a1ce2463d60373c91bc5e10e870b65bf0dcb..ee3b31c720ee7dd7e159f78c4a0c8a1156518782 100644 (file)
@@ -48,15 +48,8 @@ static int tegra_sdhci_enable_dma(struct sdhci_host *host)
        return 0;
 }
 
-static void tegra_sdhci_set_clock(struct sdhci_host *host, unsigned int clock)
-{
-       struct tegra_sdhci_host *tegra_host = sdhci_priv(host);
-       host->max_clk = clk_get_rate(tegra_host->clk);
-}
-
 static struct sdhci_ops tegra_sdhci_ops = {
        .enable_dma = tegra_sdhci_enable_dma,
-       .set_clock  = tegra_sdhci_set_clock,
 };
 
 static int __devinit tegra_sdhci_probe(struct platform_device *pdev)