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-14 20:42:40 +00:00 • committed by Mark Brown
commit 05bdcf1290
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0