ASoC: Intel: Skylake: Initialize NHLT table
authorJeeja KP <jeeja.kp@intel.com>
Wed, 7 Oct 2015 10:31:59 +0000 (11:31 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Oct 2015 15:04:17 +0000 (16:04 +0100)
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>
sound/soc/intel/skylake/skl.c

index 2f1890e703c6a7e897fb7633a680911d8b1f95f2..ca135b8ab5c022f0f4ec8f93aa5d84ca5d0ae6d7 100644 (file)
@@ -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 */