ASoC: Intel: Skylake: remove pci device enabling calls on suspend
authorJayachandran B <jayachandran.b@intel.com>
Thu, 3 Nov 2016 11:37:22 +0000 (17:07 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 9 Nov 2016 15:22:48 +0000 (15:22 +0000)
commit68d03a3aa2747e1a33231950d2c8369f1cef4244
tree7bed3f97a869b2fc9be87a6bd0646991efdbae4e
parenta83e3b4c4454ecdc473cf09aa1c9d1705623c4cc
ASoC: Intel: Skylake: remove pci device enabling calls on suspend

We were invoking pci_disable_device() while going to suspend-to-idle and
pci_enable_device() while coming back to active state.

Turns out that we do not need these calls as we only need system to be
wake capable when in suspend-to-idle state. The wake capability is
already done by enable_irq_wake() calls, so remove these unwanted calls
in driver.

Signed-off-by: Jayachandran B <jayachandran.b@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c