aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-10-07 06:31:59 -0400
committerMark Brown <broonie@kernel.org>2015-10-07 11:04:17 -0400
commit87b2bdf02278e5623cc66e5189792fde01f829a3 (patch)
treed4e8128ec12af1506c4e4df2936e31af17c40e5a
parent2a29b200c6f17827ee712e719ad29366f79205ee (diff)
ASoC: Intel: Skylake: Initialize NHLT table
Load and Initialize Non HDA Link Table in Skylake driver to get platform configuration. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> 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>
-rw-r--r--sound/soc/intel/skylake/skl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 2f1890e703c6..ca135b8ab5c0 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -458,6 +458,11 @@ static int skl_probe(struct pci_dev *pci,
458 if (err < 0) 458 if (err < 0)
459 goto out_free; 459 goto out_free;
460 460
461 skl->nhlt = skl_nhlt_init(bus->dev);
462
463 if (skl->nhlt == NULL)
464 goto out_free;
465
461 pci_set_drvdata(skl->pci, ebus); 466 pci_set_drvdata(skl->pci, ebus);
462 467
463 /* check if dsp is there */ 468 /* check if dsp is there */