ASoC: Intel: Skylake: check manifest size
authorVinod Koul <vinod.koul@intel.com>
Wed, 24 Aug 2016 12:33:13 +0000 (18:03 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2016 20:27:41 +0000 (21:27 +0100)
commitc15ad605be164dd425c32af730376b6ad71d6cb3
tree53e3a37ca1314cac342f4fcedeb7fbeb69a89d4b
parent541070cec4f9be18ce9fcc74ac5e1036965ceb63
ASoC: Intel: Skylake: check manifest size

For some platforms manifest data may not be defined, thus the private
data would not be defined as well.

So check the size of private data and proceed only if it is valid.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c