Re: [PATCH] ASoC: core: Fix possible NULL pointer dereference of pcm->config

2014-01-16 Thread Mark Brown
On Thu, Jan 16, 2014 at 04:08:04PM +0800, Xiubo Li wrote: > Since the soc generic dmaengine pcm driver allows using the defualt settings, > so the pcm->config maybe NULL. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] ASoC: core: Fix possible NULL pointer dereference of pcm->config

2014-01-16 Thread Lars-Peter Clausen
On 01/16/2014 09:08 AM, Xiubo Li wrote: Since the soc generic dmaengine pcm driver allows using the defualt settings, so the pcm->config maybe NULL. Signed-off-by: Xiubo Li Acked-by: Lars-Peter Clausen Thanks. I actually had the very same patch locally, but overlooked it. It would be good

[PATCH] ASoC: core: Fix possible NULL pointer dereference of pcm->config

2014-01-16 Thread Xiubo Li
Since the soc generic dmaengine pcm driver allows using the defualt settings, so the pcm->config maybe NULL. Signed-off-by: Xiubo Li --- sound/soc/soc-generic-dmaengine-pcm.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sou