Re: ALSA: intel8x0: div by zero in snd_intel8x0_update()
From: Sergey Senozhatsky
Date: Sun May 16 2021 - 08:55:58 EST
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@xxxxxxxxxxxxxxx>
> > > Reported-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
> > > Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
> > I'll keep running test, but seems that it works as intended
> > Tested-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
> OK, below is the revised patch I'm going to apply.