On Tue, 10 Jul 2018 17:28:45 +0200, twischer@de.adit-jv.com wrote:
From: Timo Wischer twischer@de.adit-jv.com
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
That this fix is also required for kernel was spotted by Takashi in [1].
[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2018-July/137764.html
Thanks, applied with a minor subject fix now.
Takashi