diff options
author | Xiubo Li <[email protected]> | 2013-12-17 15:16:40 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-12-17 11:17:56 +0000 |
commit | 2b67f8ba41ac7acf01c8d5c742c713ead8b589cd (patch) | |
tree | 4269cbf8661a95b669ec0086253f949ac4108e28 /lib/test-string_helpers.c | |
parent | e9036c2a60f368b8ddc349fbbcde918ed32ab597 (diff) |
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 <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions