]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: topology: fix parse fail issue for byte/bool tuple types
authorKeyon Jie <yang.jie@linux.intel.com>
Fri, 27 Sep 2019 20:05:27 +0000 (15:05 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 17:30:47 +0000 (18:30 +0100)
commitd00437552be21cbfc5d34e264f3053c79641730a
tree1e69491b91016d09b497729286e4aef19f62a5e0
parent3c9b9ef8bbb2237289e06d19987d895305f07f8d
ASoC: SOF: topology: fix parse fail issue for byte/bool tuple types

We are using sof_parse_word_tokens() to parse tokens with
bool/byte/short/word tuple types, here add the missing check, to fix the
parsing failure at byte/bool tuple types.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190927200538.660-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c