From: Takashi Iwai Subject: Re: [PATCH v3] ALSA: pcm: Return 0 when size < start_threshold in capture Date: Sun, 26 Aug 2018 09:31:21 +0200 Message-ID: References: <20180825195322.GA4521@localhost.localdomain> 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 81AFA2676BF for ; Sun, 26 Aug 2018 09:31:22 +0200 (CEST) In-Reply-To: <20180825195322.GA4521@localhost.localdomain> 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: Ricardo Biehl Pasquali Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Sat, 25 Aug 2018 21:53:23 +0200, Ricardo Biehl Pasquali wrote: > > In __snd_pcm_lib_xfer(), when capture, if state is PREPARED > and size is less than start_threshold nothing can be done. > As there is no error, 0 is returned. > > Signed-off-by: Ricardo Biehl Pasquali > --- > > version 3: > Set 'err' variable inside 'else' block. OK, re-queued this one in my local branch. Will be published once after 4.19-rc1 is released. thanks, Takashi