ASoC: Intel: Skylake: Fix to fill all sink/source pipe params
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Thu, 22 Oct 2015 17:52:37 +0000 (23:22 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 23 Oct 2015 16:31:34 +0000 (01:31 +0900)
commit4d8adccb220ca270cfcdd80752618095fdc9990c
treee803369730c6c57d16d918133017a7c0b55260ef
parentf0900eb213e0f6f37e1567531f9604b9bed6771d
ASoC: Intel: Skylake: Fix to fill all sink/source pipe params

Currently params only for first copier widget identified in the
source/sink path is queried from NHLT. In the dapm route the
playback/capture widget may be connected to more than one copier
widget. This patch adds return check to return only for any error
case.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
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