Skip to content

Commit

Permalink
Revert "ASoC: soc-core: defer card probe until all component is added…
Browse files Browse the repository at this point in the history
… to list"

This reverts commit 1cf9dd1.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
  • Loading branch information
plbossart committed Jan 11, 2019
1 parent 5091f1f commit d868f5c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1129,14 +1129,6 @@ static int soc_init_dai_link(struct snd_soc_card *card,
link->name);
return -EINVAL;
}

/*
* Defer card registartion if platform dai component is not added to
* component list.
*/
if (!soc_find_component(link->platform->of_node, link->platform->name))
return -EPROBE_DEFER;

/*
* CPU device may be specified by either name or OF node, but
* can be left unspecified, and will be matched based on DAI
Expand All @@ -1148,14 +1140,6 @@ static int soc_init_dai_link(struct snd_soc_card *card,
link->name);
return -EINVAL;
}

/*
* Defer card registartion if cpu dai component is not added to
* component list.
*/
if (!soc_find_component(link->cpu_of_node, link->cpu_name))
return -EPROBE_DEFER;

/*
* At least one of CPU DAI name or CPU device name/node must be
* specified
Expand Down

0 comments on commit d868f5c

Please sign in to comment.