OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90130d2
)
ASoC: dmaengine: Use SNDRV_PCM_STREAM_LAST for array size
author
Takashi Iwai
<tiwai@suse.de>
Fri, 25 Oct 2013 16:06:09 +0000
(18:06 +0200)
committer
Mark Brown
<broonie@linaro.org>
Fri, 25 Oct 2013 20:14:26 +0000
(21:14 +0100)
... to make the meaning more obvious.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-generic-dmaengine-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-generic-dmaengine-pcm.c
b/sound/soc/soc-generic-dmaengine-pcm.c
index
0c469cb
..
ee07903
100644
(file)
--- 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;