]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: Add missing size check
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Thu, 10 Dec 2020 15:25:41 +0000 (10:25 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 11 Dec 2020 13:23:00 +0000 (13:23 +0000)
commit38c5dabbefd6572ef5b7a2808e3fb8aa5b3f9f55
tree398cc26597f816207364c82ff04c5e941f811c2d
parentcac642e49f3565a07f2f363318dc83641aa079a6
ASoC: topology: Add missing size check

When we parse "values" we perform check if there is correct number of
them. However similar check is missing in case of "texts", add it.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20201210152541.191728-2-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c