From: Takashi Iwai Subject: Re: [PATCH - snd_interval_refine 1/1] pcm: snd_interval_refine_first/last: exclude value only if also excluded before Date: Wed, 11 Jul 2018 08:50:28 +0200 Message-ID: References: <1531236525-17874-1-git-send-email-twischer@de.adit-jv.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 58155267700 for ; Wed, 11 Jul 2018 08:50:29 +0200 (CEST) In-Reply-To: <1531236525-17874-1-git-send-email-twischer@de.adit-jv.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: twischer@de.adit-jv.com Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Tue, 10 Jul 2018 17:28:45 +0200, wrote: > > From: Timo Wischer > > 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 > --- > > 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