ASoC: Intel: Skylake: Fix DMA control config size
authorJeeja KP <jeeja.kp@intel.com>
Wed, 24 Aug 2016 12:33:15 +0000 (18:03 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2016 20:27:41 +0000 (21:27 +0100)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.h

index 96fa86d0f93aa3157b39e5a7eac9214d532c922e..37f45cc32a44a273e2e3610c3012a33f1a8275a7 100644 (file)
@@ -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 {