18 Nov
2013
18 Nov
'13
4:02 p.m.
On Wed, Nov 13, 2013 at 08:17:23PM +0100, Lucas Stach wrote: [...]
diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c
[...]
@@ -387,24 +386,18 @@ static int tegra20_ac97_platform_probe(struct platform_device *pdev) ac97->playback_dma_data.maxburst = 4; ac97->playback_dma_data.slave_id = of_dma[1];
- ret = tegra_asoc_utils_init(&ac97->util_data, &pdev->dev);
- if (ret)
goto err_clk_put;
- ret = tegra_asoc_utils_set_ac97_rate(&ac97->util_data);
- if (ret)
goto err_asoc_utils_fini;
- ret = clk_set_rate(ac97->clk_ac97, 24576000);
I think this needs error checking. Just in case.
Thierry