X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Fsound%2Fsoc%2Fintel%2Fskylake%2Fskl.c;fp=kernel%2Fsound%2Fsoc%2Fintel%2Fskylake%2Fskl.c;h=b4844f78266f7612b768743941b2bfbbf88e6d15;hb=52f993b8e89487ec9ee15a7fb4979e0f09a45b27;hp=caa69c4598a6f14eb27c91575b49aae9fd7d3e8a;hpb=c189ccac5702322ed843fe17057035b7222a59b6;p=kvmfornfv.git diff --git a/kernel/sound/soc/intel/skylake/skl.c b/kernel/sound/soc/intel/skylake/skl.c index caa69c459..b4844f782 100644 --- a/kernel/sound/soc/intel/skylake/skl.c +++ b/kernel/sound/soc/intel/skylake/skl.c @@ -464,8 +464,10 @@ static int skl_probe(struct pci_dev *pci, skl->nhlt = skl_nhlt_init(bus->dev); - if (skl->nhlt == NULL) + if (skl->nhlt == NULL) { + err = -ENODEV; goto out_free; + } pci_set_drvdata(skl->pci, ebus);