ASoC: core: Fix possible NULL pointer dereference of pcm->config
authorXiubo Li <Li.Xiubo@freescale.com>
Thu, 16 Jan 2014 08:08:04 +0000 (16:08 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 16 Jan 2014 14:11:49 +0000 (14:11 +0000)
Since the soc generic dmaengine pcm driver allows using the defualt settings,
so the pcm->config maybe NULL.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-generic-dmaengine-pcm.c

Simple merge