Skip to content
Commit 536e785f authored by Vaibhav Gupta's avatar Vaibhav Gupta Committed by Wolfram Sang
Browse files

i2c: eg20t: Drop PCI wakeup calls from .suspend/.resume



The driver calls pci_enable_wake(...., false) in pch_i2c_suspend() as well
as pch_i2c_resume(). Either it should enable-wake the device in .suspend()
or should not invoke pci_enable_wake() at all.

Concluding that this driver doesn't support enable-wake and PCI core calls
pci_enable_wake(pci_dev, PCI_D0, false) during resume, drop it from
.suspend() and .resume().

Reported-by: default avatarBjorn Helgaas <helgaas@kernel.org>
Signed-off-by: default avatarVaibhav Gupta <vaibhavgupta40@gmail.com>
Reviewed-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent b0102a89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment