From: Jeeja KP Date: Fri, 13 Nov 2015 13:52:07 +0000 (+0530) Subject: ASoC: Intel: Skylake: Remove redundant init in resume X-Git-Tag: v4.5-rc1~80^2~26^2~1^2~6^4~67 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e03fc82d7c474b2f9bcdb0f6a5ef26c6c3ab24ee;p=karo-tx-linux.git 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: Jeeja KP Signed-off-by: Vinod Koul Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index bdb99dcbfdca..d3e87b6f93fe 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c @@ -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 */