2nd parameter of asoc_simple_init_dai_link_params() not used
This commit is contained in:
parent
47d09dba0e
commit
f8d47b5c64
1 changed files with 2 additions and 3 deletions
|
@ -335,8 +335,7 @@ static int asoc_simple_init_dai(struct snd_soc_dai *dai,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int asoc_simple_init_dai_link_params(struct snd_soc_pcm_runtime *rtd,
|
static int asoc_simple_init_dai_link_params(struct snd_soc_pcm_runtime *rtd)
|
||||||
struct simple_dai_props *dai_props)
|
|
||||||
{
|
{
|
||||||
struct snd_soc_dai_link *dai_link = rtd->dai_link;
|
struct snd_soc_dai_link *dai_link = rtd->dai_link;
|
||||||
struct snd_soc_component *component;
|
struct snd_soc_component *component;
|
||||||
|
@ -396,7 +395,7 @@ static int seeed_voice_card_dai_init(struct snd_soc_pcm_runtime *rtd)
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
ret = asoc_simple_init_dai_link_params(rtd, dai_props);
|
ret = asoc_simple_init_dai_link_params(rtd);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue