UPSTREAM: ASoC: Intel: Skylake: Fix to fail safely if module not available in path

If a module is not available in a pipeline, fail safely rather than
causing oops.

Signed-off-by: G Kranthi <gudishax.kranthikumar@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 91ce54978ccece323aa6df930249ff84a7d233c7)
Signed-off-by: Chintan Patel <chintan.m.patel@intel.com>

BUG=chrome-os-partner:60384
TEST=With whole series applied, no audio regression on electro
TEST=With WoV app running, system enters to S0ix.Please see detail
test instruction in chrome-os-partner:60384

Reviewed-on: https://chromium-review.googlesource.com/431566
Commit-Ready: Chintan M Patel <chintan.m.patel@intel.com>
Tested-by: Michael Cheng <michael.cheng@intel.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
(cherry picked from commit 9103ec8ceef3db196b6eeaed3caebe5f00b6dedc)
Signed-off-by: Benson Leung <bleung@chromium.org>

Change-Id: I9085ba3230e6f1df19bfd0fdd8f26c44626eb359
Reviewed-on: https://chromium-review.googlesource.com/439383
Trybot-Ready: Benson Leung <bleung@chromium.org>
Reviewed-by: Chintan M Patel <chintan.m.patel@intel.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
1 file changed