device: Give pci_ops.set_L1_ss_latency
a proper name
Rename `set_L1_ss_latency` to what it does: `set_ltr_max_latencies`. TEST=Built google/brya0 with BUILD_TIMELESS=1: no changes. Change-Id: I7008aa18bf80d6709dce1b2d3bfbb5ea407a0574 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51326 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -132,8 +132,8 @@ static void pciexp_config_max_latency(struct device *root, struct device *dev)
|
||||
unsigned int cap;
|
||||
cap = pciexp_find_extended_cap(dev, PCIE_EXT_CAP_LTR_ID);
|
||||
if ((cap) && (root->ops->ops_pci != NULL) &&
|
||||
(root->ops->ops_pci->set_L1_ss_latency != NULL))
|
||||
root->ops->ops_pci->set_L1_ss_latency(dev, cap + 4);
|
||||
(root->ops->ops_pci->set_ltr_max_latencies != NULL))
|
||||
root->ops->ops_pci->set_ltr_max_latencies(dev, cap + 4);
|
||||
}
|
||||
|
||||
static bool pciexp_is_ltr_supported(struct device *dev, unsigned int cap)
|
||||
|
Reference in New Issue
Block a user