From: Imre Kaloz Date: Mon, 18 Jul 2011 20:05:12 +0000 (+0200) Subject: ARM: orion5x: fixup 5181 MPP mask check X-Git-Tag: upstream/snapshot3+hdmi~9557^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8885cb68dbdaa0a292bf1defc98addd0aed9b04;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 f12c41b..b6ddd7a 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)