24 Aug
2017
24 Aug
'17
5:46 a.m.
On Thu, Aug 24, 2017 at 11:34 AM, Jeffy Chen jeffy.chen@rock-chips.com wrote:
list_for_each_entry(dai, &component->dai_list, list) { if (dlc->dai_name && strcmp(dai->name, dlc->dai_name)
&& strcmp(dai->driver->name, dlc->dai_name))
&& (!dai->driver->name
|| !strcmp(dai->driver->name, dlc->dai_name)) continue;
If the dai->driver->name is match with the dlc->dai_name, does it need to continue?
return dai;