Re: [alsa-devel] [PATCH] ASoC: Intel: fix possible acpi enumeration panic

2014-12-15 Thread Kevin Strasser
On Mon, Dec 15, 2014 at 05:06:45PM +, Mark Brown wrote: > Please fix your mailer to word wrap comfortably under 80 colums so that your > mails are easily legible. Understood > > > This changes the check from verifying if a codec_id is present to > > > verifying if the first character in the c

Re: [PATCH] ASoC: Intel: fix possible acpi enumeration panic

2014-12-15 Thread Mark Brown
On Thu, Dec 11, 2014 at 09:55:38PM +, Strasser, Kevin wrote: Please fix your mailer to word wrap comfortably under 80 colums so that your mails are easily legible. > > This changes the check from verifying if a codec_id is present to verifying > > if > > the first character in the codec_id i

RE: [PATCH] ASoC: Intel: fix possible acpi enumeration panic

2014-12-11 Thread Strasser, Kevin
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Thursday, December 11, 2014 5:20 AM> > On Wed, Dec 10, 2014 at 11:21:57PM -0800, Kevin Strasser wrote: > > > A crash can occur on some platforms where adsp is enumerated but codec > > is not matched. Check that th

Re: [PATCH] ASoC: Intel: fix possible acpi enumeration panic

2014-12-11 Thread Mark Brown
On Wed, Dec 10, 2014 at 11:21:57PM -0800, Kevin Strasser wrote: > A crash can occur on some platforms where adsp is enumerated but codec > is not matched. Check that the codec_id string is valid before > attempting to match. > - for (mach = machines; mach->codec_id; mach++) > + for (mach

[PATCH] ASoC: Intel: fix possible acpi enumeration panic

2014-12-10 Thread Kevin Strasser
A crash can occur on some platforms where adsp is enumerated but codec is not matched. Check that the codec_id string is valid before attempting to match. Signed-off-by: Kevin Strasser --- sound/soc/intel/sst/sst_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/so