summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2008-12-22 17:40:45 +0100
committerTakashi Iwai <tiwai@suse.de>2008-12-22 18:33:26 +0100
commit472346da9cc4231bec03ff2032e0d5fd4037232c (patch)
tree78fa57f6fc2f0187cbb6cfaea60f16c5d0931271 /sound
parentc69134858722977a82f58cae88e7ffdb28e1e858 (diff)
downloadlinux-472346da9cc4231bec03ff2032e0d5fd4037232c.tar.bz2
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/omap/omap-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
index 803581c9280d..b0362dfd5b71 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