Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free}

From: Kuninori Morimoto
Date: Mon Mar 13 2017 - 21:10:39 EST



Hi Brian

> > The crasher was snd_dmaengine_pcm_register's platform ?
>
> No, actually it wasn't. It was spi2.0, which was a dummy, from
> snd_soc_dummy_probe(). But somehow snd_soc_platform_drv_pcm_new() got
> called for it...

Hmm.. I couldn't reproduce your issue on my system with dummy platform.
And your log is indicating something is happening which shouldn't happen.

Best regards
---
Kuninori Morimoto