[ARM] tegra_i2s_audio: remove unnecessary clocks

Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev
2010-11-30 16:27:17 -08:00
parent 61186dc145
commit 98a55bb337

View File

@@ -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;