]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Commonize parsing of format tokens
authorShreyas NC <shreyas.nc@intel.com>
Wed, 23 Aug 2017 14:03:50 +0000 (19:33 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 25 Aug 2017 13:53:55 +0000 (14:53 +0100)
commit24eb65ad16c4be308be608b775aa9de8ab18ed06
tree075f13567903bf553c1d1d4900c909b57a430684
parentfa240b9d7a3611982a385205aac5e82dee9d5f4a
ASoC: Intel: Skylake: Commonize parsing of format tokens

Format resource tokens can be a part of either the widget or manifest
private data. In the current model, format resources come as a part of
widget private data and they come as a part of topology manifest in the
newly introduced model.

So add a common function that can fill up either of the structures.

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