]> Git Repo - linux.git/commit
net: wwan: iosm: Keep device at D0 for s2idle case
authorKai-Heng Feng <[email protected]>
Fri, 24 Dec 2021 08:19:14 +0000 (16:19 +0800)
committerDavid S. Miller <[email protected]>
Mon, 27 Dec 2021 12:19:51 +0000 (12:19 +0000)
commitf4dd5174e2739ab0aeda14b32847e587e78ff3d9
tree27c6fae32aa753dd8328d6dffeafee14dc642592
parent8f58e29ed7fc37d3ca3e86668e63250a53f51fd7
net: wwan: iosm: Keep device at D0 for s2idle case

We are seeing spurious wakeup caused by Intel 7560 WWAN on AMD laptops.
This prevent those laptops to stay in s2idle state.

>From what I can understand, the intention of ipc_pcie_suspend() is to
put the device to D3cold, and ipc_pcie_suspend_s2idle() is to keep the
device at D0. However, the device can still be put to D3hot/D3cold by
PCI core.

So explicitly let PCI core know this device should stay at D0, to solve
the spurious wakeup.

Signed-off-by: Kai-Heng Feng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/wwan/iosm/iosm_ipc_pcie.c
This page took 0.050872 seconds and 4 git commands to generate.