From 98a55bb3379db858244ff97f2594c865808f9b5a Mon Sep 17 00:00:00 2001 From: Iliyan Malchev Date: Tue, 30 Nov 2010 16:27:17 -0800 Subject: [PATCH] [ARM] tegra_i2s_audio: remove unnecessary clocks Signed-off-by: Iliyan Malchev --- arch/arm/mach-tegra/tegra_i2s_audio.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/arm/mach-tegra/tegra_i2s_audio.c b/arch/arm/mach-tegra/tegra_i2s_audio.c index 76587e6997d8..900ac042c9fa 100644 --- a/arch/arm/mach-tegra/tegra_i2s_audio.c +++ b/arch/arm/mach-tegra/tegra_i2s_audio.c @@ -1699,7 +1699,7 @@ static int tegra_audio_probe(struct platform_device *pdev) { int rc, i; struct resource *res; - struct clk *i2s_clk, *audio_sync_clk, *dap_mclk; + struct clk *i2s_clk, *dap_mclk; struct audio_driver_state *state; pr_info("%s\n", __func__); @@ -1775,14 +1775,6 @@ static int tegra_audio_probe(struct platform_device *pdev) } clk_enable(dap_mclk); - audio_sync_clk = tegra_get_clock_by_name(state->pdata->audio_sync_clk); - if (!audio_sync_clk) { - dev_err(&pdev->dev, "%s: could not get audio_2x clock\n", - __func__); - return -EIO; - } - clk_enable(audio_sync_clk); - rc = i2s_configure(pdev); if (rc < 0) return rc; -- 2.34.1