]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ASoC: Intel: Skylake: use module_pin info for unbind
authorJeeja KP <jeeja.kp@intel.com>
Tue, 27 Oct 2015 00:22:51 +0000 (09:22 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 10:08:09 +0000 (10:08 +0000)
commitce1b5551a06af31a72feeb50c02a9fe22599926a
tree8b2e5450854e0e124cb2988ddf3ab393f109ac53
parent83b50246d3f193ce7f0546786097ee673c359eb2
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>
sound/soc/intel/skylake/skl-pcm.c
sound/soc/intel/skylake/skl-topology.c
sound/soc/intel/skylake/skl-topology.h
sound/soc/intel/skylake/skl.h