Message ID | 1439832404-12424-9-git-send-email-vinod.koul@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Aug 17, 2015 at 10:56:43PM +0530, Vinod Koul wrote: > From: Jeeja KP <jeeja.kp@intel.com> > > Load and Initialize Non HDA Link Table in Skylake driver > to get platform configuration. Didn't we need this before we started trying to use the NHLT?
On Sat, Sep 19, 2015 at 09:27:20AM -0700, Mark Brown wrote: > On Mon, Aug 17, 2015 at 10:56:43PM +0530, Vinod Koul wrote: > > From: Jeeja KP <jeeja.kp@intel.com> > > > > Load and Initialize Non HDA Link Table in Skylake driver > > to get platform configuration. > > Didn't we need this before we started trying to use the NHLT? We have only added NHLT code, not calls to it. Since the whole driver series is not merged we thought best to add enabling bits in later patches, so added here at last. Thanks
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, 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 */