ASoC: topology: Check widget kcontrols before deref

Validate the topology input before we dereference the pointer.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Liam Girdwood 2018-03-27 14:30:44 +01:00 • committed by Mark Brown
commit f53c4c20d6
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0