mirror of https://gitee.com/openkylin/linux.git
ASoC: remove rtd->platform checck
Now, we are ready to replace rtd->platform to rtdcom list. From this patch, rtd->platform check is no longer needed. It will be replaced into rtdcom. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7928b2cbe5
commit
bbf4d71aa9
|
@ -1162,11 +1162,6 @@ static int soc_bind_dai_link(struct snd_soc_card *card,
|
||||||
|
|
||||||
rtd->platform = platform;
|
rtd->platform = platform;
|
||||||
}
|
}
|
||||||
if (!rtd->platform) {
|
|
||||||
dev_err(card->dev, "ASoC: platform %s not registered\n",
|
|
||||||
dai_link->platform_name);
|
|
||||||
goto _err_defer;
|
|
||||||
}
|
|
||||||
|
|
||||||
soc_add_pcm_runtime(card, rtd);
|
soc_add_pcm_runtime(card, rtd);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue