Re: [linux-4.4.y PATCH] ASoC: Intel: avoid Oops if DMA setup fails

2019-05-09 Thread Ross Zwisler
On Thu, May 09, 2019 at 07:41:47PM +0200, Greg KH wrote: > On Sun, May 05, 2019 at 03:15:53PM +0200, Greg KH wrote: > > On Fri, May 03, 2019 at 01:45:03PM -0600, Ross Zwisler wrote: > > > From: Ross Zwisler > > > > > > commit 0efa3334d65b7f421ba12382dfa58f6ff5bf83c4 upstream. > > > > This

Re: [linux-4.4.y PATCH] ASoC: Intel: avoid Oops if DMA setup fails

2019-05-09 Thread Greg KH
On Sun, May 05, 2019 at 03:15:53PM +0200, Greg KH wrote: > On Fri, May 03, 2019 at 01:45:03PM -0600, Ross Zwisler wrote: > > From: Ross Zwisler > > > > commit 0efa3334d65b7f421ba12382dfa58f6ff5bf83c4 upstream. > > This commit id is not in Linus's tree :( > Sorry for the noise, I didn't read

Re: [linux-4.4.y PATCH] ASoC: Intel: avoid Oops if DMA setup fails

2019-05-05 Thread Greg KH
On Fri, May 03, 2019 at 01:45:03PM -0600, Ross Zwisler wrote: > From: Ross Zwisler > > commit 0efa3334d65b7f421ba12382dfa58f6ff5bf83c4 upstream. This commit id is not in Linus's tree :(

[linux-4.4.y PATCH] ASoC: Intel: avoid Oops if DMA setup fails

2019-05-03 Thread Ross Zwisler
From: Ross Zwisler commit 0efa3334d65b7f421ba12382dfa58f6ff5bf83c4 upstream. Currently in sst_dsp_new() if we get an error return from sst_dma_new() we just print an error message and then still complete the function successfully. This means that we are trying to run without sst->dma properly

Re: [PATCH] ASoC: Intel: avoid Oops if DMA setup fails

2019-04-29 Thread Ross Zwisler
On Fri, Apr 26, 2019 at 06:52:45PM +, Sasha Levin wrote: > Hi, > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees:

Re: [PATCH] ASoC: Intel: avoid Oops if DMA setup fails

2019-04-29 Thread Ross Zwisler
On Fri, Apr 26, 2019 at 04:03:47PM -0500, Pierre-Louis Bossart wrote: > On 4/26/19 11:47 AM, Ross Zwisler wrote: > > Currently in sst_dsp_new() if we get an error return from sst_dma_new() > > we just print an error message and then still complete the function > > successfully. This means that we

Re: [PATCH] ASoC: Intel: avoid Oops if DMA setup fails

2019-04-26 Thread Pierre-Louis Bossart
On 4/26/19 11:47 AM, Ross Zwisler wrote: Currently in sst_dsp_new() if we get an error return from sst_dma_new() we just print an error message and then still complete the function successfully. This means that we are trying to run without sst->dma properly set up, which will result in NULL

[PATCH] ASoC: Intel: avoid Oops if DMA setup fails

2019-04-26 Thread Ross Zwisler
Currently in sst_dsp_new() if we get an error return from sst_dma_new() we just print an error message and then still complete the function successfully. This means that we are trying to run without sst->dma properly set up, which will result in NULL pointer dereference when sst->dma is later