From 2b67f8ba41ac7acf01c8d5c742c713ead8b589cd Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Tue, 17 Dec 2013 15:16:40 +0800 Subject: [PATCH] ASoC: dmaengine: Add config parameter NULL check. Because the "ASoC: dmaengine-pcm: Provide default config" has provided us one defualt config of DMA. When using this, the config parameter of devm_snd_dmaengine_pcm_register() will be NULL, so here we need to have a check before using it. Signed-off-by: Xiubo Li Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-format-patch failed