All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: dmaengine: Use SNDRV_PCM_STREAM_LAST for array size
@ 2013-10-25 16:06 Takashi Iwai
  2013-10-25 16:07 ` Lars-Peter Clausen
  2013-10-25 20:16 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Takashi Iwai @ 2013-10-25 16:06 UTC (permalink / raw)
  To: Lars-Peter Clausen; +Cc: alsa-devel, Mark Brown, Liam Girdwood

... to make the meaning more obvious.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/soc/soc-generic-dmaengine-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sound/soc/soc-generic-dmaengine-pcm.c
index 0c469cb..ee07903 100644
--- a/sound/soc/soc-generic-dmaengine-pcm.c
+++ b/sound/soc/soc-generic-dmaengine-pcm.c
@@ -25,7 +25,7 @@
 #include <sound/dmaengine_pcm.h>
 
 struct dmaengine_pcm {
-	struct dma_chan *chan[SNDRV_PCM_STREAM_CAPTURE + 1];
+	struct dma_chan *chan[SNDRV_PCM_STREAM_LAST + 1];
 	const struct snd_dmaengine_pcm_config *config;
 	struct snd_soc_platform platform;
 	unsigned int flags;
-- 
1.8.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-25 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 16:06 [PATCH] ASoC: dmaengine: Use SNDRV_PCM_STREAM_LAST for array size Takashi Iwai
2013-10-25 16:07 ` Lars-Peter Clausen
2013-10-25 20:16 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.