ASoC: dapm: Ensure kcontrol list is initialised
authorMark Brown <broonie@linaro.org>
Mon, 12 Aug 2013 23:20:36 +0000 (00:20 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 13 Aug 2013 09:19:59 +0000 (10:19 +0100)
commit69c2d346e8fa8dbed122e82f727332f35718ab86
treeecd4982ca6a035a86e72c1fdcd6601bb1e87e93c
parent946d92a100f6c36b1c53922d5105b3c19a59173d
ASoC: dapm: Ensure kcontrol list is initialised

Ensure that the recently added path kcontrol list is initialised otherwise
we may crash trying to delete routes that don't have kcontrols.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
sound/soc/soc-dapm.c