From f8d47b5c64bcb5fcb4ced3a1be01fedc84442f78 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Tue, 13 Apr 2021 02:53:46 +0100 Subject: [PATCH] 2nd parameter of asoc_simple_init_dai_link_params() not used --- seeed-voicecard.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/seeed-voicecard.c b/seeed-voicecard.c index 0432ea0..6fcdc22 100644 --- a/seeed-voicecard.c +++ b/seeed-voicecard.c @@ -335,8 +335,7 @@ static int asoc_simple_init_dai(struct snd_soc_dai *dai, return 0; } -static int asoc_simple_init_dai_link_params(struct snd_soc_pcm_runtime *rtd, - struct simple_dai_props *dai_props) +static int asoc_simple_init_dai_link_params(struct snd_soc_pcm_runtime *rtd) { struct snd_soc_dai_link *dai_link = rtd->dai_link; 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) return ret; - ret = asoc_simple_init_dai_link_params(rtd, dai_props); + ret = asoc_simple_init_dai_link_params(rtd); if (ret < 0) return ret;