]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix to parse consecutive string tkns in manifest
authorShreyas NC <shreyas.nc@intel.com>
Mon, 15 May 2017 14:14:30 +0000 (19:44 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 24 May 2017 17:25:25 +0000 (18:25 +0100)
commit068744cbb0568b21a2be04604328323e9c843641
tree0ca7c23cfb0e6d17f4f4f0ca7708b61f674891c0
parent27293046d0705a9198a7e579430bbeb58ebfc6c0
ASoC: Intel: Skylake: Fix to parse consecutive string tkns in manifest

Element size in the manifest should be updated for each token, so that the
loop can parse all the string elements in the manifest. This was not
happening when more than two string elements appear consecutively, as it is
not updated with correct string element size. Fixed with this patch.

Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@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