ASoC: topology: Ensure that needed parameters are set
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Thu, 14 Jan 2021 16:36:01 +0000 (11:36 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:37:04 +0000 (12:37 +0000)
commitd40ab86f7db3612074d08a317bdb1eb8ba06a37e
treee865102eeeb8a477d9f01a35ce4c95b3aa8b0779
parent879a67e3577020012bfad1b45aae124ec23c5db0
ASoC: topology: Ensure that needed parameters are set

As snd_soc_tplg_component_load is exported function, which means it is
part of API, there should be checks if it is called with proper
parameters.

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