Hi Chancel
Thank you for the patch
> diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
> index 516350533e73..09467c693627 100644
> --- a/sound/soc/soc-core.c
> +++ b/sound/soc/soc-core.c
> @@ -300,12 +300,12 @@ static int snd_soc_is_matching_dai(const struct snd_soc_dai_link_component *dlc,
> const char *snd_soc_dai_name_get(struct snd_soc_dai *dai)
> {
> /* see snd_soc_is_matching_dai() */
> - if (dai->name)
> - return dai->name;
> -
> if (dai->driver->name)
> return dai->driver->name;
>
> + if (dai->name)
> + return dai->name;
> +
> if (dai->component->name)
> return dai->component->name;
>
> --
As above comment indicated, snd_soc_dai_name_get() and
snd_soc_is_matching_dai() are paired.
If you want to update snd_soc_dai_name_get(), updating
snd_soc_is_matching_dai() also is good idea.
Thank you for your help !!
Best regards
---
Renesas Electronics
Ph.D. Kuninori Morimoto
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]