ASoC: dapm: Fix to return correct path list in is_connected_ep.
authorJeeja KP <jeeja.kp@intel.com>
Wed, 15 Jun 2016 05:46:55 +0000 (11:16 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 15 Jun 2016 09:19:27 +0000 (10:19 +0100)
commit09464974eaa8325c4cd22c3cab743a110644fb31
treeb7e7dc1758ed2479de0a32f5efd344b12165b173
parent5fdd022c20264791310b188ec4a080bcb8647d23
ASoC: dapm: Fix to return correct path list in is_connected_ep.

In is_connected_ep, when custom_stop_condition is true, need to
return the correct paths instead of con which is 0.

Fixes: 6742064aef7f('ASoC: dapm: support user-defined stop condition in dai_get_connected_widgets')
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/soc-dapm.c