Commit 0dd8cc03ecc45faaba0297c2832ff6ae307e8f30
1 parent
36007650ed
Exists in
smarc-8m-android-10.0.0_2.6.0
and in
1 other branch
MLK-24042-2 pci: pcie_imx: Fix iMX6Q remove issue
Wrong variable is check during pcie driver removing (6QP is checked but should be 6Q), so iMX6Q won't enter its handling and cause kernel PCI link failed to detect. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/pci/pcie_imx.c
... | ... | @@ -1063,7 +1063,7 @@ |
1063 | 1063 | * If both LTSSM_ENABLE and REF_SSP_ENABLE are active we have a strong |
1064 | 1064 | * indication that the bootloader activated the link. |
1065 | 1065 | */ |
1066 | - if (priv->variant == IMX6QP && prepare_for_boot) { | |
1066 | + if (priv->variant == IMX6Q && prepare_for_boot) { | |
1067 | 1067 | u32 val, gpr1, gpr12; |
1068 | 1068 | |
1069 | 1069 | imx_pcie_gpr_read(priv, 4, &gpr1); |