* [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
* Re: [PATCH] asoc: multi-component: mpc8610: fix typo in mpc8610_hpcd_data
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
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2010-07-16 8:39 UTC (permalink / raw)
To: Timur Tabi; +Cc: alsa-devel, lrg
On Thu, Jul 15, 2010 at 04:55:00PM -0500, Timur Tabi wrote:
> 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>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] asoc: multi-component: mpc8610: fix typo in mpc8610_hpcd_data
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
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2010-07-17 18:15 UTC (permalink / raw)
To: Timur Tabi; +Cc: alsa-devel
On Thu, 2010-07-15 at 16:55 -0500, Timur Tabi wrote:
> 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.
>
Thanks
Applied
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [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).