]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02a8f3ced707309464381ed19d848a490fd7dd3e
tree0a4491bb900f6429c21f6e82d237ad3711bcd1e4
parentb1f2e2c2fdeeda46688163ac25453e3a2eaec3b2
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