[alsa-devel] [PATCH 06/10] ASoC: twl6040: correct loop counters for HS/HF ramp code

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Sep 26 23:33:01 CEST 2011


On Mon, Sep 26, 2011 at 04:26:29PM +0300, Peter Ujfalusi wrote:

> -	for (i = 0; i <= 16; i++) {
> +	for (i = 0; i <= 15; i++) {

It'd seem more natural to change these to being simple < comparisons -
they're far more common.  Any great reason for going tis way (perhaps
context?).


More information about the Alsa-devel mailing list