From: Imre Kaloz Date: Mon, 18 Jul 2011 20:05:12 +0000 (+0200) Subject: ARM: orion5x: fixup 5181 MPP mask check X-Git-Tag: firefly_0821_release~3680^2~4941^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e8885cb68dbdaa0a292bf1defc98addd0aed9b04;p=firefly-linux-kernel-4.4.55.git ARM: orion5x: fixup 5181 MPP mask check During the refactoring of the Orion MPP code, the detection for the 5181l as been used to select the 5181 MPP mask, which is wrong. Select the 5181 mask for all 5181 variants. Signed-off-by: Imre Kaloz Signed-off-by: Nicolas Pitre --- diff --git a/arch/arm/mach-orion5x/mpp.c b/arch/arm/mach-orion5x/mpp.c index f12c41b98d46..b6ddd7a5db6a 100644 --- a/arch/arm/mach-orion5x/mpp.c +++ b/arch/arm/mach-orion5x/mpp.c @@ -24,7 +24,7 @@ static unsigned int __init orion5x_variant(void) orion5x_pcie_id(&dev, &rev); - if (dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0) + if (dev == MV88F5181_DEV_ID) return MPP_F5181_MASK; if (dev == MV88F5182_DEV_ID)