SHARE
TWEET

Untitled

a guest Feb 24th, 2020 123 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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) \
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top