aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-qcom-ep.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2023-10-04 16:44:30 +0000
committerKrzysztof Wilczyński <[email protected]>2023-10-14 19:19:37 +0000
commit85e9eb3e7727e98cbf7b9bf475677f2a64be06b8 (patch)
tree34641c764f78f09c2e7720c1e507fbc3a1800412 /drivers/pci/controller/dwc/pcie-qcom-ep.c
parentPCI: qcom-ep: Use PCIE_SPEED2MBS_ENC() macro for encoding link speed (diff)
downloadkernel-85e9eb3e7727e98cbf7b9bf475677f2a64be06b8.tar.gz
kernel-85e9eb3e7727e98cbf7b9bf475677f2a64be06b8.zip
PCI: tegra194: Use Mbps_to_icc() macro for setting icc speed
PCIe speed returned by the PCIE_SPEED2MBS_ENC() macro is in Mbps. So instead of converting it to MBps explicitly and using the MBps_to_icc() macro, let's use the Mbps_to_icc() macro to pass the value directly. Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Cc: Vidya Sagar <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions