diff options
Diffstat (limited to 'kernel/sound/soc/intel/skylake/skl.c')
-rw-r--r-- | kernel/sound/soc/intel/skylake/skl.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |