summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake/skl-tplg-interface.h
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-11-28 10:31:50 +0100
committerMark Brown <broonie@kernel.org>2015-12-01 23:17:00 +0100
commit140adfba5280617487a848a0fa84f7523d999cf3 (patch)
tree3d6c9102b15b1005875ee30646506d6af59a879e /sound/soc/intel/skylake/skl-tplg-interface.h
parentASoC: Intel: Skylake: Add support to configure module params (diff)
downloadlinux-140adfba5280617487a848a0fa84f7523d999cf3.tar.xz
linux-140adfba5280617487a848a0fa84f7523d999cf3.zip
ASoC: Intel: Skylake: Add tlv byte kcontrols
This adds tlv bytes topology control creation and control load to initialize kcontrol data. And this also adds the callbacks for the these tlv byte kcontrols Signed-off-by: Mythri P K <mythri.p.k@intel.com> Signed-off-by: Divya Prakash <divya1.prakash@intel.com> 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>
Diffstat (limited to 'sound/soc/intel/skylake/skl-tplg-interface.h')
-rw-r--r--sound/soc/intel/skylake/skl-tplg-interface.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sound/soc/intel/skylake/skl-tplg-interface.h b/sound/soc/intel/skylake/skl-tplg-interface.h
index 63c83a3eeb7e..3f1908e3ae80 100644
--- a/sound/soc/intel/skylake/skl-tplg-interface.h
+++ b/sound/soc/intel/skylake/skl-tplg-interface.h
@@ -23,10 +23,7 @@
* Default types range from 0~12. type can range from 0 to 0xff
* SST types start at higher to avoid any overlapping in future
*/
-#define SOC_CONTROL_TYPE_HDA_SST_ALGO_PARAMS 0x100
-#define SOC_CONTROL_TYPE_HDA_SST_MUX 0x101
-#define SOC_CONTROL_TYPE_HDA_SST_MIX 0x101
-#define SOC_CONTROL_TYPE_HDA_SST_BYTE 0x103
+#define SKL_CONTROL_TYPE_BYTE_TLV 0x100
#define HDA_SST_CFG_MAX 900 /* size of copier cfg*/
#define MAX_IN_QUEUE 8
@@ -218,8 +215,8 @@ struct skl_dfw_module {
struct skl_dfw_algo_data {
u32 set_params:1;
u32 rsvd:31;
- u32 param_id;
u32 max;
+ u32 param_id;
char params[0];
} __packed;