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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Nov 2018 15:42:47 +0000 (07:42 -0800)
commitc375d28caa735bf1987a4cf225d7d89e7f5bb8dc
treed3f04b21d053859a585061e93d24d461fb53780f
parent5cb2faefc12acc7757f8bec803c7ac6e336e0295
ASoC: Intel: Skylake: Fix to parse consecutive string tkns in manifest

[ Upstream commit 0a716776914ed9d7ca90b48041e6767693bfb672 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/skylake/skl-topology.c