ASoC: Intel: Skylake: Fix to use correct macros for the path iteration
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Thu, 22 Oct 2015 17:52:36 +0000 (23:22 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 23 Oct 2015 16:31:34 +0000 (01:31 +0900)
commitf0900eb213e0f6f37e1567531f9604b9bed6771d
tree57d216b49cf377ee1638f67b75926f57f072fc3a
parentbc03281a5c706f6372dfc2100b04aa4055a15c88
ASoC: Intel: Skylake: Fix to use correct macros for the path iteration

In case of playback, for the BE dai source path should be iterated to find
the pipe params. With sink path iterated, this resulted in a loop and kernel
panic with page request failure.
Similar are the cases for Capture and FE dais. Using correct macros to fix
the panic

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