diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-07-06 13:34:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-14 00:13:36 +0300 |
commit | 03bea515b9a2f2a48d46a5a4bcc69be264afb6af (patch) | |
tree | 1286cf0cab89b8dbd9f0f160a77e006fbd261e6f /arch/arm64 | |
parent | d21f3eaa09c0dcbf7930ec3b127cbacbfba99bb5 (diff) | |
download | linux-03bea515b9a2f2a48d46a5a4bcc69be264afb6af.tar.xz |
ALSA: msnd: Optimize / harden DSP and MIDI loops
commit 20e2b791796bd68816fa115f12be5320de2b8021 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>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions