From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: [PATCH] ASoC: Fix Blackfin I2S _pointer() implementation return in bounds values Date: Thu, 23 Jun 2011 21:10:31 +0200 Message-ID: <4E038FA7.40509@metafoo.de> References: <1308855731-24430-1-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailhost.informatik.uni-hamburg.de (mailhost.informatik.uni-hamburg.de [134.100.9.70]) by alsa0.perex.cz (Postfix) with ESMTP id A7623103803 for ; Thu, 23 Jun 2011 21:12:12 +0200 (CEST) In-Reply-To: <1308855731-24430-1-git-send-email-broonie@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, Mike Frysinger , Liam Girdwood List-Id: alsa-devel@alsa-project.org On 06/23/2011 09:02 PM, Mark Brown wrote: > [...] > + if (diff == snd_pcm_lib_buffer_bytes(substream)) > + diff = 0; > + } stray closing bracket > + frames = bytes_to_frames(substream->runtime, diff); > + > return frames; Could be 'return bytes_to_frames(substream->runtime, diff);' directly