ASoC: Intel: Skylake: Add flag to check to register FE dais from topology
authorGuneshwor Singh <guneshwor.o.singh@intel.com>
Mon, 9 Oct 2017 05:50:30 +0000 (11:20 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 13 Oct 2017 19:25:03 +0000 (20:25 +0100)
commitc3ae22e39db79bee1909d398c0debe2f7cb87d3a
tree2e3931583557f6de41272f120f1e8fe622ec3d93
parent5514830dffb2332c034c20db3b264ba1f94de1d8
ASoC: Intel: Skylake: Add flag to check to register FE dais from topology

Since FE dais can come from topology, split the FE dais from existing
dai array so that FE dais need not be registered if they come from
topology. Add use_tplg_pcm flag to check whether FE dais will be
registered from topology during dai driver component registration.

Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c
sound/soc/intel/skylake/skl.c
sound/soc/intel/skylake/skl.h