[alsa-devel] [PATCH] ASoC: typo

Liam Girdwood lrg at slimlogic.co.uk
Mon Dec 22 18:05:59 CET 2008


On Mon, 2008-12-22 at 17:40 +0100, Roel Kluin wrote:
> Signed-off-by: Roel Kluin <roel.kluin at gmail.com>
> ---
> diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
> index acd68ef..227c865 100644
> --- a/sound/soc/omap/omap-pcm.c
> +++ b/sound/soc/omap/omap-pcm.c
> @@ -97,7 +97,7 @@ static int omap_pcm_hw_params(struct snd_pcm_substream *substream,
>  	prtd->dma_data = dma_data;
>  	err = omap_request_dma(dma_data->dma_req, dma_data->name,
>  			       omap_pcm_dma_irq, substream, &prtd->dma_ch);
> -	if (!err & !cpu_is_omap1510()) {
> +	if (!err && !cpu_is_omap1510()) {
>  		/*
>  		 * Link channel with itself so DMA doesn't need any
>  		 * reprogramming while looping the buffer

Signed-off-by: Liam Girdwood <lrg at slimlogic.co.uk>

Liam



More information about the Alsa-devel mailing list