aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2021-05-16 16:17:55 +0000
committerTakashi Iwai <[email protected]>2021-05-16 16:17:55 +0000
commitc1f0616124c455c5c762b6f123e40bba5df759e6 (patch)
tree77f671b4cfc9b6b40b324b0fd3a5e018c202065f /tools/lib/bpf/bpf_prog_linfo.c
parentALSA: hda/realtek: Add some CLOVE SSIDs of ALC293 (diff)
downloadkernel-c1f0616124c455c5c762b6f123e40bba5df759e6.tar.gz
kernel-c1f0616124c455c5c762b6f123e40bba5df759e6.zip
ALSA: intel8x0: Don't update period unless prepared
The interrupt handler of intel8x0 calls snd_intel8x0_update() whenever the hardware sets the corresponding status bit for each stream. This works fine for most cases as long as the hardware behaves properly. But when the hardware gives a wrong bit set, this leads to a zero- division Oops, and reportedly, this seems what happened on a VM. 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. Cc: <[email protected]> Reported-and-tested-by: Sergey Senozhatsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions