]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
ALSA: ASoC: fix a typo in omp-pcm.c
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 22 Dec 2008 16:40:45 +0000 (17:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Dec 2008 17:33:26 +0000 (18:33 +0100)
Fix a typo (& and &&)

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/omap/omap-pcm.c

index 803581c9280d7d9d53b00b35c39d2a5e68b1a72e..b0362dfd5b719a50839503fd39992c9d6ec8df0d 100644 (file)
@@ -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