diff options
author | Timo Wischer <twischer@de.adit-jv.com> | 2018-07-10 17:28:45 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-11 08:49:59 +0200 |
commit | ff2d6acdf6f13d9f8fdcd890844c6d7535ac1f10 (patch) | |
tree | f38622f0ffdcc524b4936d1a8156bec14868387c /mm/memfd.c | |
parent | d64c5cf8e89d124355924c513a42b16f0d7d3a03 (diff) | |
download | linux-ff2d6acdf6f13d9f8fdcd890844c6d7535ac1f10.tar.bz2 |
ALSA: pcm: Fix snd_interval_refine first/last with open min/max
Without this commit the following intervals [x y), (x y) were be
replaced to (y-1 y) by snd_interval_refine_last(). This was also done
if y-1 is part of the previous interval.
With this changes it will be replaced with [y-1 y) in case of y-1 is
part of the previous interval. A similar behavior will be used for
snd_interval_refine_first().
This commit adapts the changes for alsa-lib of commit
9bb985c ("pcm: snd_interval_refine_first/last: exclude value only if
also excluded before")
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions