linux-stable/sound/isa/msnd
Takashi Iwai 20e2b79179 ALSA: msnd: Optimize / harden DSP and MIDI loops
The ISA msnd drivers have loops fetching the ring-buffer head, tail
and size values inside the loops.  Such codes are inefficient and
fragile.

This patch optimizes it, and also adds the sanity check to avoid the
endless loops.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196131
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196133
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-07-07 15:34:57 +02:00
..
Makefile ALSA: Turtle Beach Multisound Classic/Pinnacle driver 2009-01-28 07:47:36 +01:00
msnd.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
msnd.h ALSA: msnd: Remove always NULL parameter 2015-01-02 16:28:04 +01:00
msnd_classic.c ALSA: Turtle Beach Multisound Classic/Pinnacle driver 2009-01-28 07:47:36 +01:00
msnd_classic.h ALSA: Turtle Beach Multisound Classic/Pinnacle driver 2009-01-28 07:47:36 +01:00
msnd_midi.c ALSA: msnd: Optimize / harden DSP and MIDI loops 2017-07-07 15:34:57 +02:00
msnd_pinnacle.c ALSA: msnd: Optimize / harden DSP and MIDI loops 2017-07-07 15:34:57 +02:00
msnd_pinnacle.h ALSA: Turtle Beach Multisound Classic/Pinnacle driver 2009-01-28 07:47:36 +01:00
msnd_pinnacle_mixer.c ALSA: msnd: add some missing curly braces 2015-03-05 13:02:10 +01:00