[PATCH v7 2/3] PCI: qcom: Define slot capabilities using PCI_EXP_SLTCAP_*

Rob Herring robh at kernel.org
Mon Jun 13 13:56:50 PDT 2022


On Sun, Jun 12, 2022 at 01:18:34PM +0300, Baruch Siach wrote:
> From: Baruch Siach <baruch.siach at siklu.com>
> 
> 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.
> 
> Signed-off-by: Baruch Siach <baruch.siach at siklu.com>
> ---
> v7:
>   Use FIELD_PREP for power limit and stale (Pali Rohár)
> ---
>  drivers/pci/controller/dwc/pcie-qcom.c | 17 +++++++++++++++--
>  1 file changed, 15 insertions(+), 2 deletions(-)

Reviewed-by: Rob Herring <robh at kernel.org>



More information about the linux-arm-kernel mailing list