[alsa-devel] [PATCH] Fix indentation in pcm_native.c

Takashi Iwai tiwai at suse.de
Fri Dec 25 14:23:32 CET 2009


At Thu, 24 Dec 2009 01:17:46 +0100 (CET),
Guennadi Liakhovetski wrote:
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski at gmx.de>

Applied now.  Thanks.


Takashi

> ---
> diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
> index ab73edf..cf57964 100644
> --- a/sound/core/pcm_native.c
> +++ b/sound/core/pcm_native.c
> @@ -1917,13 +1917,13 @@ int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream)
>  
>  	err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_RATE,
>  					   hw->rate_min, hw->rate_max);
> -	 if (err < 0)
> -		 return err;
> +	if (err < 0)
> +		return err;
>  
>  	err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_BYTES,
>  					   hw->period_bytes_min, hw->period_bytes_max);
> -	 if (err < 0)
> -		 return err;
> +	if (err < 0)
> +		return err;
>  
>  	err = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIODS,
>  					   hw->periods_min, hw->periods_max);
> 


More information about the Alsa-devel mailing list