Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free}
From: Mark Brown
Date: Thu Mar 09 2017 - 07:04:30 EST
On Wed, Mar 08, 2017 at 03:18:54PM -0800, Brian Norris wrote:
> Not all platform drivers have pcm_{new,free} callbacks. Seen with a
> "snd-soc-dummy" codec from sound/soc/rockchip/rk3399_gru_sound.c.
>
> Resolves an OOPS seen on v4.11-rc1 with Google Kevin (Samsung Chromebook
> Plus):
>
> [ 2.863304] rk3399-gru-sound sound: HiFi <-> ff880000.i2s mapping ok
> [ 2.886930] rk3399-gru-sound sound: rt5514-aif1 <-> ff880000.i2s mapping ok
Please think hard before including complete backtraces in upstream
reports, they are very large and contain almost no useful information
relative to their size so often obscure the relevant content in your
message. If part of the backtrace is usefully illustrative then it's
usually better to pull out the relevant sections.
Attachment:
signature.asc
Description: PGP signature