diff mbox

[3/9] ASoC: Intel: Skylake: Fix DMA control config size

Message ID 1472042001-9582-4-git-send-email-vinod.koul@intel.com (mailing list archive)
State Accepted
Commit 0b6d76bbd5e223d33ccdd73f3a717692d500d221
Headers show

Commit Message

Vinod Koul Aug. 24, 2016, 12:33 p.m. UTC
From: Jeeja KP <jeeja.kp@intel.com>

DMA control IPC structure wrong config array length,
So corrected the size

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 sound/soc/intel/skylake/skl-topology.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h
index 96fa86d0f93a..37f45cc32a44 100644
--- a/sound/soc/intel/skylake/skl-topology.h
+++ b/sound/soc/intel/skylake/skl-topology.h
@@ -133,7 +133,7 @@  struct skl_i2s_config_blob {
 struct skl_dma_control {
 	u32 node_id;
 	u32 config_length;
-	u32 config_data[1];
+	u32 config_data[0];
 } __packed;
 
 struct skl_cpr_cfg {