diff options
author | Takashi Iwai | 2017-07-06 12:34:40 +0200 |
---|---|---|
committer | Takashi Iwai | 2017-07-07 15:34:57 +0200 |
commit | 20e2b791796bd68816fa115f12be5320de2b8021 (patch) | |
tree | 3380b79080ccb2942cd976ddb16f54728e6b1b0f /fs/adfs | |
parent | f33f79f3d0e5caf04dd889cd7cf636261970f009 (diff) |
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>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions