mirror of https://gitee.com/openkylin/linux.git
20e2b79179
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> |
||
---|---|---|
.. | ||
Makefile | ||
msnd.c | ||
msnd.h | ||
msnd_classic.c | ||
msnd_classic.h | ||
msnd_midi.c | ||
msnd_pinnacle.c | ||
msnd_pinnacle.h | ||
msnd_pinnacle_mixer.c |