aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2023-10-03 15:52:58 +0300
committerBjorn Helgaas <[email protected]>2023-10-03 11:54:47 -0500
commit5827e17d0555b566c32044b0632b46f9f95054fa (patch)
treedcdbffe7178c6099cbb60f5d87f7263c5a447603 /drivers/pci/controller/dwc
parentb5fc04039b9578d8bcc46bf70bcfe6b137340aeb (diff)
PCI: vmd: Correct PCI Header Type Register's multi-function check
vmd_domain_reset() attempts to find whether the device may contain multiple functions by checking 0x80 (Multi-Function Device), however, the hdr_type variable has already been masked with PCI_HEADER_TYPE_MASK so the check can never true. To fix the issue, don't mask the read with PCI_HEADER_TYPE_MASK. Fixes: 6aab5622296b ("PCI: vmd: Clean up domain before enumeration") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Cc: Nirmal Patel <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions