1
0
Fork 0
remarkable-linux/sound/isa
Takashi Iwai 03bea515b9 ALSA: msnd: Optimize / harden DSP and MIDI loops
commit 20e2b79179 upstream.

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>
Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-13 14:13:36 -07:00
..
ad1816a ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
ad1848 ALSA: ad1848: Utilize the module_isa_driver macro 2016-06-01 07:35:47 +02:00
cs423x ALSA: cs4231: Utilize the module_isa_driver macro 2016-06-01 07:35:48 +02:00
es1688 ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
galaxy ALSA: galaxy: Utilize the module_isa_driver macro 2016-06-01 07:35:52 +02:00
gus ALSA: gusclassic: Utilize the module_isa_driver macro 2016-06-01 07:35:50 +02:00
msnd ALSA: msnd: Optimize / harden DSP and MIDI loops 2017-09-13 14:13:36 -07:00
opti9xx ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
sb ALSA: jazz16: Utilize the module_isa_driver macro 2016-06-01 07:35:46 +02:00
wavefront ALSA: isa/wavefront: prevent some out of bound writes 2016-05-08 11:39:44 +02:00
wss ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
Kconfig ALSA: Add missing dependency on CONFIG_SND_TIMER 2016-01-27 07:10:38 +01:00
Makefile ALSA: introduce snd-cmi8328: C-Media CMI8328 driver 2012-08-21 07:30:46 +02:00
adlib.c ALSA: adlib: Utilize the module_isa_driver macro 2016-06-01 07:35:52 +02:00
als100.c ASoC: sb16: Simplify snd_sb16dsp_pcm() 2015-01-02 16:28:35 +01:00
azt2320.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
cmi8328.c ALSA: cmi8328: Utilize the module_isa_driver macro 2016-06-01 07:35:47 +02:00
cmi8330.c ALSA: isa: Convert to snd_card_new() with a device pointer 2014-02-12 10:58:21 +01:00
es18xx.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
opl3sa2.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
sc6000.c ALSA: sc6000: Utilize the module_isa_driver macro 2016-06-01 07:35:51 +02:00
sscape.c ALSA: sscape: Use correct format identifier for size_t 2016-04-11 16:06:17 +02:00