diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2015-11-13 19:22:07 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-18 18:46:36 +0000 |
commit | e03fc82d7c474b2f9bcdb0f6a5ef26c6c3ab24ee (patch) | |
tree | 155b0ebda7fb0e760f73f2e68e3561a3bbf7f977 /sound/soc/intel/skylake | |
parent | a71e269728ce42216cca8ce5145e97e777a36467 (diff) | |
download | lwn-e03fc82d7c474b2f9bcdb0f6a5ef26c6c3ab24ee.tar.gz lwn-e03fc82d7c474b2f9bcdb0f6a5ef26c6c3ab24ee.zip |
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 <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake')
-rw-r--r-- | sound/soc/intel/skylake/skl.c | 4 |
1 files changed, 0 insertions, 4 deletions
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 */ |