From 2a9a2f685a4d03964e6057c4171bc0c96062157f Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Thu, 2 Sep 2010 16:13:24 -0700 Subject: [PATCH] tegra: sdhci: Remove set_clock op, not needed 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 --- drivers/mmc/host/sdhci-tegra.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 1b39a1ce2463..ee3b31c720ee 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -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) -- 2.34.1