]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75f8c5e5a202efd4edbf14760bf65d46f5c80bf4
tree7bed3f97a869b2fc9be87a6bd0646991efdbae4e
parent83404f2a3f0a0cc4bcb395e07ad0978042c73f79
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