diff options
author | Abhishek Sahu <[email protected]> | 2019-06-06 14:52:24 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-06-13 15:52:37 -0500 |
commit | a17beb1a0882a544523dcb5d0da4801272dfd43a (patch) | |
tree | 8f528d6278a085ba44c6b1c772794d60f883b2aa /net/lapb/lapb_timer.c | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
PCI: Generalize multi-function power dependency device links
Although not allowed by the PCI specs, some multi-function devices have
power dependencies between the functions. For example, function 1 may not
work unless function 0 is in the D0 power state.
The existing quirk_gpu_hda() adds a device link to express this dependency
for GPU and HDA devices, but it really is not specific to those device
types.
Generalize it and rename it to pci_create_device_link() so we can create
dependencies between any "consumer" and "producer" functions of a
multi-function device, where the consumer is only functional if the
producer is in D0. This reorganization should not affect any
functionality.
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Abhishek Sahu <[email protected]>
[bhelgaas: commit log, reword diagnostic]
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions