[alsa-devel] [PATCH] ASoC: Fix Blackfin I2S _pointer() implementation return in bounds values
Lars-Peter Clausen
lars at metafoo.de
Thu Jun 23 21:10:31 CEST 2011
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
More information about the Alsa-devel
mailing list