Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b10ceb55 authored by Yinghai Lu's avatar Yinghai Lu Committed by Jesse Barnes
Browse files

x86/PCI: don't bother with root quirks if _CRS is used



It will be overwriten later if _CRS is used, so don't bother to set it.

Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent cffb2faf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -100,6 +100,10 @@ void x86_pci_root_bus_res_quirks(struct pci_bus *b)
	int j;
	struct pci_root_info *info;

	/* don't go for it if _CRS is used */
	if (pci_probe & PCI_USE__CRS)
		return;

	/* if only one root bus, don't need to anything */
	if (pci_root_num < 2)
		return;