diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-09-29 20:11:18 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-05 15:38:05 +0200 |
commit | 6407e5ecdc66cd9da760e751a7c092c87a683861 (patch) | |
tree | ad2baef3e00f4d0ccf24aa414e6637e929eb2b72 /lib/test_fortify/write_overflow-strcpy.c | |
parent | bf39c929f9053cd840155a1c39494c9a9946836b (diff) |
PCI: PM: Make pci_choose_state() call pci_target_state()
The pci_choose_state() and pci_target_state() implementations are
somewhat divergent without a good reason, because they are used
for similar purposes.
Change the pci_choose_state() implementation to use pci_target_state()
internally except for transitions to the working state of the system
in which case it is expected to return D0.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Ferry Toth <fntoth@gmail.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions