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>
This commit is contained in:
Hugo Villeneuve 2009-03-09 23:32:08 -04:00 committed by Mark Brown
parent 14cbba89ae
commit 090cec81ae

View file

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