Browse Source

ALSA: ASoC: fix a typo in omp-pcm.c

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>
Roel Kluin 16 năm trước cách đây
mục cha
commit
472346da9c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      sound/soc/omap/omap-pcm.c

+ 1 - 1
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