OpenCloudOS-Kernel/drivers/hid/intel-ish-hid/ipc
Kai-Heng Feng 7e341061dd HID: intel-ish-hid: Replace PCI_DEV_FLAGS_NO_D3 with pci_save_state
PCI_DEV_FLAGS_NO_D3 should not be used outside of PCI core.

Instead, we can use pci_save_state() to hint PCI core that the device
should stay at D0 during suspend. By doing so, PCI core will let the
upstream bridges also stays at D0 so the entire hierarchy is in the
correct power state as PCI spec mandates.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2020-07-07 12:18:47 +02:00
..
hw-ish-regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hw-ish.h HID: intel-ish-hid: ipc: Add Tiger Lake PCI device ID 2019-12-29 21:39:03 +01:00
ipc.c HID: intel-ish-hid: ipc: set NO_D3 flag only when needed 2019-08-19 14:01:50 +02:00
pci-ish.c HID: intel-ish-hid: Replace PCI_DEV_FLAGS_NO_D3 with pci_save_state 2020-07-07 12:18:47 +02:00