summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-10-07 11:31:59 +0100
committerMark Brown <broonie@kernel.org>2015-10-07 16:04:17 +0100
commit87b2bdf02278e5623cc66e5189792fde01f829a3 (patch)
treed4e8128ec12af1506c4e4df2936e31af17c40e5a /sound
parent2a29b200c6f17827ee712e719ad29366f79205ee (diff)
downloadop-kernel-dev-87b2bdf02278e5623cc66e5189792fde01f829a3.zip
op-kernel-dev-87b2bdf02278e5623cc66e5189792fde01f829a3.tar.gz
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>
Diffstat (limited to 'sound')
-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 2f1890e..ca135b8 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,
if (err < 0)
goto out_free;
+ skl->nhlt = skl_nhlt_init(bus->dev);
+
+ if (skl->nhlt == NULL)
+ goto out_free;
+
pci_set_drvdata(skl->pci, ebus);
/* check if dsp is there */
OpenPOWER on IntegriCloud