asoc: multi-component: mpc8610: fix typo in mpc8610_hpcd_data
PATCH 1/1 asoc: multi-component: mpc8610: fix typo in mpc8610_hpcd_data
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 <[email protected]>
---
Liam, please squash this into your repository.
sound/soc/fsl/mpc8610_hpcd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/fsl/mpc8610_hpcd.c +1 -1
@@ -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 ]; };
Signature · 1 line
1.7.0.1
Quoted 4 lines · Timur Tabi
The dma_id[] variable in struct
mpc8610_hpcd_datais a zero-length array, when it should be of length 2.Signed-off-by Timur Tabi <[email protected]>
Acked-by Mark Brown <[email protected]>
Liam Girdwood
AppliedQuoted 8 lines · Timur Tabi
The dma_id[] variable in struct
mpc8610_hpcd_datais a zero-length array, when it should be of length 2.Signed-off-by Timur Tabi <[email protected]>---
Liam, please squash this into your repository.
Thanks
Applied
Liam
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk