OSDN Git Service

ASoC: Intel: Skylake: Populate module data from topology manifest
authorShreyas NC <shreyas.nc@intel.com>
Wed, 23 Aug 2017 14:03:52 +0000 (19:33 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 25 Aug 2017 13:54:02 +0000 (14:54 +0100)
commitdb6ed55de6da1125ff349bfe4ef12d18c366e893
tree0a4491bb900f6429c21f6e82d237ad3711bcd1e4
parent822c3b044f7fbecc9894fcd3d19fc2ad51232fdb
ASoC: Intel: Skylake: Populate module data from topology manifest

All the module common data will now be populated in the topology
manifest. This includes the resource and interface list supported by
the module. With this, driver need not compute the resources required
by each dsp module for a particular pcm parameter since it comes as a
part of the topology manifest.

So, add functions to parse the manifest tokens to populate the module
config data structure.

Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
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-topology.c