]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - sound/soc/intel/skylake/skl-topology.c
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)
commit6bd4cf855698312133b7776c77ee78af865608eb
tree85131ea71701424901db0db2ca2edb2e6a9ae816
parent9946f70906eebf2a305d0b189de52eec8ba39649
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