diff options
-rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 98290f4ef3..af090c93be 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
@@ -160,8 +160,8 @@ static void __init quirk_fsl_pcie_transparent(struct pci_dev *dev) | |||
160 | 160 | ||
161 | int __init fsl_pcie_check_link(struct pci_controller *hose) | 161 | int __init fsl_pcie_check_link(struct pci_controller *hose) |
162 | { | 162 | { |
163 | u16 val; | 163 | u32 val; |
164 | early_read_config_word(hose, 0, 0, PCIE_LTSSM, &val); | 164 | early_read_config_dword(hose, 0, 0, PCIE_LTSSM, &val); |
165 | if (val < PCIE_LTSSM_L0) | 165 | if (val < PCIE_LTSSM_L0) |
166 | return 1; | 166 | return 1; |
167 | return 0; | 167 | return 0; |