Re: [PATCH v4 3/3] PCI: tegra194: Use Mbps_to_icc() macro for setting icc speed

From: Konrad Dybcio
Date: Fri Oct 06 2023 - 17:18:23 EST


On 4.10.2023 18:44, Manivannan Sadhasivam wrote:
> 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.
>
> Cc: Vidya Sagar <vidyas@xxxxxxxxxx>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad