OSDN Git Service

PCI: qcom: Define slot capabilities using PCI_EXP_SLTCAP_*
authorBaruch Siach <baruch.siach@siklu.com>
Tue, 21 Jun 2022 08:54:53 +0000 (11:54 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Jul 2022 20:30:57 +0000 (15:30 -0500)
commit9a765805f62aa590fd4281740b4ef75425c0b12b
treeeabd09e0a6c4c41724712041ccc083363f7ca0fe
parent996ab868d6302534c22d52075c71b97e4d70f519
PCI: qcom: Define slot capabilities using PCI_EXP_SLTCAP_*

The PCIE_CAP_LINK1_VAL macro actually defines slot capabilities. Use
PCI_EXP_SLTCAP_* macros to spell its value, and rename it to better
describe its meaning.

Link: https://lore.kernel.org/r/3025d5e1d8da64798db6958f9780c4763fbcac47.1655799816.git.baruch@tkos.co.il
Signed-off-by: Baruch Siach <baruch.siach@siklu.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
drivers/pci/controller/dwc/pcie-qcom.c