Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e03fc82d authored by Jeeja KP's avatar Jeeja KP Committed by Mark Brown
Browse files

ASoC: Intel: Skylake: Remove redundant init in resume



Since we call _skl_resume which also initializes the chip we no
need to call these explicitly, so remove the duplication

Signed-off-by: default avatarJeeja KP <jeeja.kp@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a71e2697
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -199,13 +199,9 @@ static int skl_runtime_resume(struct device *dev)
	struct pci_dev *pci = to_pci_dev(dev);
	struct hdac_ext_bus *ebus = pci_get_drvdata(pci);
	struct hdac_bus *bus = ebus_to_hbus(ebus);
	struct skl *skl = ebus_to_skl(ebus);

	dev_dbg(bus->dev, "in %s\n", __func__);

	skl_init_pci(skl);
	snd_hdac_bus_init_chip(bus, true);

	return _skl_resume(ebus);
}
#endif /* CONFIG_PM */