diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2015-10-27 03:22:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-16 13:08:09 +0300 |
commit | ce1b5551a06af31a72feeb50c02a9fe22599926a (patch) | |
tree | 8b2e5450854e0e124cb2988ddf3ab393f109ac53 /sound/soc/intel/skylake/skl-topology.h | |
parent | 83b50246d3f193ce7f0546786097ee673c359eb2 (diff) | |
download | linux-ce1b5551a06af31a72feeb50c02a9fe22599926a.tar.xz |
ASoC: Intel: Skylake: use module_pin info for unbind
in_pin and out_pin list for a module has the information about
the module that are bound together. So we can directly look at
pin information of module for binding and unbind.
As a result the preinitialized dapm_path_last we had is removed
and code and memory optimzed.
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-topology.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h index cd8768308f29..1b35cb6c397a 100644 --- a/sound/soc/intel/skylake/skl-topology.h +++ b/sound/soc/intel/skylake/skl-topology.h @@ -280,11 +280,6 @@ struct skl_pipeline { struct list_head node; }; -struct skl_dapm_path_list { - struct snd_soc_dapm_path *dapm_path; - struct list_head node; -}; - static inline struct skl *get_skl_ctx(struct device *dev) { struct hdac_ext_bus *ebus = dev_get_drvdata(dev); |