Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. diff --git a/drivers/pci/controller/pcie-rockchip.h b/drivers/pci/controller/pcie-rockchip.h
  2. index d90dfb354573..ecc930eb4669 100644
  3. --- a/drivers/pci/controller/pcie-rockchip.h
  4. +++ b/drivers/pci/controller/pcie-rockchip.h
  5. @@ -186,7 +186,7 @@
  6. (PCIE_ECAM_BUS(bus) | PCIE_ECAM_DEV(dev) | \
  7. PCIE_ECAM_FUNC(func) | PCIE_ECAM_REG(reg))
  8. #define PCIE_LINK_IS_L2(x) \
  9. - (((x) & PCIE_CLIENT_DEBUG_LTSSM_MASK) == PCIE_CLIENT_DEBUG_LTSSM_L2)
  10. + (((x) & PCIE_CLIENT_DEBUG_LTSSM_MASK) & PCIE_CLIENT_DEBUG_LTSSM_L2)
  11. #define PCIE_LINK_UP(x) \
  12. (((x) & PCIE_CLIENT_LINK_STATUS_MASK) == PCIE_CLIENT_LINK_STATUS_UP)
  13. #define PCIE_LINK_IS_GEN2(x) \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement