Skip to content

Commit

Permalink
ASoC: topology: Change pass number of DAI smaller than graph
Browse files Browse the repository at this point in the history
The PCM DAIs need to be loaded and added to ASoC core ealier than the
graph (route). Otherwise, adding routes will fail for missing DAIs.

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Mengdong Lin authored and Mark Brown committed Aug 14, 2015
1 parent 376c0af commit 1a8e7fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sound/soc/soc-topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
#define SOC_TPLG_PASS_VENDOR 1
#define SOC_TPLG_PASS_MIXER 2
#define SOC_TPLG_PASS_WIDGET 3
#define SOC_TPLG_PASS_GRAPH 4
#define SOC_TPLG_PASS_PINS 5
#define SOC_TPLG_PASS_PCM_DAI 6
#define SOC_TPLG_PASS_PCM_DAI 4
#define SOC_TPLG_PASS_GRAPH 5
#define SOC_TPLG_PASS_PINS 6

#define SOC_TPLG_PASS_START SOC_TPLG_PASS_MANIFEST
#define SOC_TPLG_PASS_END SOC_TPLG_PASS_PCM_DAI
#define SOC_TPLG_PASS_END SOC_TPLG_PASS_PINS

struct soc_tplg {
const struct firmware *fw;
Expand Down

0 comments on commit 1a8e7fa

Please sign in to comment.