2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-10-16 02:05:43 +08:00
|
|
|
From: "Shaik, ShahinaX" <shahinax.shaik@intel.com>
|
|
|
|
Date: Wed, 23 May 2018 21:17:13 +0530
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] ASoC: Intel: Skylake: Resolve load DMA control config issue
|
2018-10-16 02:05:43 +08:00
|
|
|
|
|
|
|
Audio driver doesn't load dmactrl_cfg after adding it
|
|
|
|
in topology xml.
|
|
|
|
|
|
|
|
There is no value assigned to dmactrl_cfg.size when dmactrl_cfg is
|
|
|
|
parsed from topology xml by codec. But it checks for
|
|
|
|
dmactrl_cfg.size when dmactrl_cfg is send to DSP. This Patch resolve
|
|
|
|
this issue.
|
|
|
|
|
|
|
|
Change-Id: I7caac5281cd1a6151ca7874f3b74865d91347065
|
|
|
|
Signed-off-by: Shaik, ShahinaX <shahinax.shaik@intel.com>
|
|
|
|
Reviewed-on:
|
|
|
|
Reviewed-by: Gogineni, GiribabuX <giribabux.gogineni@intel.com>
|
|
|
|
Reviewed-by: Kesapragada, Pardha Saradhi <pardha.saradhi.kesapragada@intel.com>
|
|
|
|
Reviewed-by: Shaik, Kareem M <kareem.m.shaik@intel.com>
|
|
|
|
Reviewed-by: Kale, Sanyog R <sanyog.r.kale@intel.com>
|
|
|
|
Tested-by: Madiwalar, MadiwalappaX <madiwalappax.madiwalar@intel.com>
|
|
|
|
---
|
|
|
|
sound/soc/intel/skylake/skl-topology.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c
|
2019-03-29 14:12:17 +08:00
|
|
|
index 1606aee..b2f62a2 100644
|
2018-10-16 02:05:43 +08:00
|
|
|
--- a/sound/soc/intel/skylake/skl-topology.c
|
|
|
|
+++ b/sound/soc/intel/skylake/skl-topology.c
|
2019-03-29 14:12:17 +08:00
|
|
|
@@ -4633,6 +4633,7 @@ static int skl_tplg_mfest_fill_dmactrl(struct device *dev,
|
2018-10-16 02:05:43 +08:00
|
|
|
if (!hdr->data)
|
|
|
|
return -ENOMEM;
|
|
|
|
hdr->data_size = tkn_elem->value;
|
|
|
|
+ dmactrl_cfg->size = hdr->data_size;
|
|
|
|
} else {
|
|
|
|
hdr->data_size = 0;
|
|
|
|
dev_err(dev, "Invalid dmactrl info \n");
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2018-10-16 02:05:43 +08:00
|
|
|
|