diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-12-08 00:05:59 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-12-08 00:05:59 +0300 |
commit | 45e9320f3a4ef9588ee50a2eb1891c4bfdbb07df (patch) | |
tree | 6793b084c91ca861fca7170230c4967e1f9b9012 /drivers/pci/host/pci-xgene.c | |
parent | 1177f76a7e7e52d4be3c78247b30ab73cabf7164 (diff) | |
download | linux-45e9320f3a4ef9588ee50a2eb1891c4bfdbb07df.tar.xz |
PCI: rockchip: Fix negotiated lanes calculation
The calculation of negotiated lanes is wrong: it should be shifted by
PCIE_CORE_PL_CONF_LANE_SHIFT, but it is shifted by
PCIE_CORE_PL_CONF_LANE_MASK instead. Let's fix it.
Fixes: e77f847df54c ("PCI: rockchip: Add Rockchip PCIe controller support")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/host/pci-xgene.c')
0 files changed, 0 insertions, 0 deletions