Sfoglia il codice sorgente

ALSA: ASoC: Davinci: Updated sffsdr_hw_params() function to new format

Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Hugo Villeneuve 16 anni fa
parent
commit
090cec81ae
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      sound/soc/davinci/davinci-sffsdr.c

+ 1 - 2
sound/soc/davinci/davinci-sffsdr.c

@@ -45,8 +45,7 @@
 		      SND_SOC_DAIFMT_IB_NF)
 
 static int sffsdr_hw_params(struct snd_pcm_substream *substream,
-			    struct snd_pcm_hw_params *params,
-			    struct snd_soc_dai *dai)
+			    struct snd_pcm_hw_params *params)
 {
 	struct snd_soc_pcm_runtime *rtd = substream->private_data;
 	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;