alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] asoc: multi-component: mpc8610: fix typo in mpc8610_hpcd_data
@ 2010-07-15 21:55 Timur Tabi
  2010-07-16  8:39 ` Mark Brown
  2010-07-17 18:15 ` Liam Girdwood
  0 siblings, 2 replies; 3+ messages in thread
From: Timur Tabi @ 2010-07-15 21:55 UTC (permalink / raw)
  To: alsa-devel, lrg

The dma_id[] variable in struct mpc8610_hpcd_data is a zero-length
array, when it should be of length 2.

Signed-off-by: Timur Tabi <timur@freescale.com>
---

Liam, please squash this into your repository.

 sound/soc/fsl/mpc8610_hpcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c
index 81ab639..8665cc2 100644
--- a/sound/soc/fsl/mpc8610_hpcd.c
+++ b/sound/soc/fsl/mpc8610_hpcd.c
@@ -37,7 +37,7 @@ struct mpc8610_hpcd_data {
 	unsigned int cpu_clk_direction;
 	unsigned int clk_frequency;
 	unsigned int ssi_id;		/* 0 = SSI1, 1 = SSI2, etc */
-	unsigned int dma_id[0];		/* 0 = DMA1, 1 = DMA2, etc */
+	unsigned int dma_id[2];		/* 0 = DMA1, 1 = DMA2, etc */
 	unsigned int dma_channel_id[2]; /* 0 = ch 0, 1 = ch 1, etc*/
 	char dai_name[32];
 };
-- 
1.7.0.1

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

end of thread, other threads:[~2010-07-17 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-15 21:55 [PATCH] asoc: multi-component: mpc8610: fix typo in mpc8610_hpcd_data Timur Tabi
2010-07-16  8:39 ` Mark Brown
2010-07-17 18:15 ` Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).