ASoC: pxa/raumfeld: adopt new snd_soc_dai_set_pll() API
ALSA's for-2.6.33 branch has a new source argument to snd_soc_dai_set_pll(). Signed-off-by: Daniel Mack <daniel@caiaq.de> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Родитель
785d1c45ce
Коммит
a649d1fcc9
|
@ -116,7 +116,7 @@ static int raumfeld_cs4270_hw_params(struct snd_pcm_substream *substream,
|
|||
return ret;
|
||||
|
||||
/* setup the CPU DAI */
|
||||
ret = snd_soc_dai_set_pll(cpu_dai, 0, 0, clk);
|
||||
ret = snd_soc_dai_set_pll(cpu_dai, 0, 0, 0, clk);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
|
@ -205,7 +205,7 @@ static int raumfeld_ak4104_hw_params(struct snd_pcm_substream *substream,
|
|||
return ret;
|
||||
|
||||
/* setup the CPU DAI */
|
||||
ret = snd_soc_dai_set_pll(cpu_dai, 0, 0, clk);
|
||||
ret = snd_soc_dai_set_pll(cpu_dai, 0, 0, 0, clk);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче