[PATCH] asoc: multi-component: mpc8610: fix typo in mpc8610_hpcd_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
---

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


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux