]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix bind of source with multiple sinks
authorJeeja KP <jeeja.kp@intel.com>
Wed, 3 Feb 2016 12:29:51 +0000 (17:59 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 4 Feb 2016 11:36:14 +0000 (11:36 +0000)
commit8e88425615703d209ccc8a6230870699a9e9efdc
tree85131ea71701424901db0db2ca2edb2e6a9ae816
parent1a294d961d386b94fab44fc21a23d6224fbf905c
ASoC: Intel: Skylake: Fix bind of source with multiple sinks

skl_tplg_bind_sinks() takes only the first sink widget. This
breaks in case we have multiple sinks for a module.

So pass source widget to skl_tplg_bind_sinks() and bind for all
sinks by calling this recursively

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.c