ALSA: intel8x0: div by zero in snd_intel8x0_update()

Sergey Senozhatsky senozhatsky at chromium.org
Sun May 16 14:55:45 CEST 2021


On (21/05/16 14:07), Takashi Iwai wrote:
> > > For fixing the crash, this patch adds a internal flag indicating that
> > > the stream is ready to be updated, and check it (as well as the flag
> > > being in suspended) to ignore such spurious update.
> > 
> > I reproduced the "spurious IRQ" case, and the patch handled it correctly
> > (VM did not crash).
> > 
> > > Cc: <stable at vger.kernel.org>
> > > Reported-by: Sergey Senozhatsky <senozhatsky at chromium.org>
> > > Signed-off-by: Takashi Iwai <tiwai at suse.de>
> > 
> > I'll keep running test, but seems that it works as intended
> > 
> > Tested-by: Sergey Senozhatsky <senozhatsky at chromium.org>
> 
> OK, below is the revised patch I'm going to apply.
>

Sounds good.

> Thanks!

Thank you.


More information about the Alsa-devel mailing list