We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc2f2a9 commit 85e9eb3Copy full SHA for 85e9eb3
drivers/pci/controller/dwc/pcie-tegra194.c
@@ -321,9 +321,9 @@ static void tegra_pcie_icc_set(struct tegra_pcie_dw *pcie)
321
speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, val);
322
width = FIELD_GET(PCI_EXP_LNKSTA_NLW, val);
323
324
- val = width * (PCIE_SPEED2MBS_ENC(pcie_link_speed[speed]) / BITS_PER_BYTE);
+ val = width * PCIE_SPEED2MBS_ENC(pcie_link_speed[speed]);
325
326
- if (icc_set_bw(pcie->icc_path, MBps_to_icc(val), 0))
+ if (icc_set_bw(pcie->icc_path, Mbps_to_icc(val), 0))
327
dev_err(pcie->dev, "can't set bw[%u]\n", val);
328
329
if (speed >= ARRAY_SIZE(pcie_gen_freq))
0 commit comments