Skip to contentSkip to conversation

ASoC: typo

PATCH Liam Girdwood 2 participants 2 messages Dec 22, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Roel Kluin

---

sound/soc/omap/omap-pcm.c +0 -0
index acd68ef..227c865 100644

sound/soc/omap/omap-pcm.c static int omap_pcm_hw_params(struct snd_pcm_substream *substream, · line 103

Quoted 8 lines
sound/soc/omap/omap-pcm.c +1 -1
@@ -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

Liam

#2 lore raw

At Mon, 22 Dec 2008 17:05:59 +0000,

Quoted 11 lines · Liam Girdwood
Quoted 9 lines · Roel Kluin

---

sound/soc/omap/omap-pcm.c +0 -0
index acd68ef..227c865 100644
@@ -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,
Quoted 8 lines

sound/soc/omap/omap-pcm.c static int omap_pcm_hw_params(struct snd_pcm_substream *substream, · line 103

Quoted 6 lines
sound/soc/omap/omap-pcm.c +1 -1
 			       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

Applied now. Thanks.

Takashi