diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-02-08 15:52:07 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-09 16:16:31 -0800 |
commit | b06540371063f0f07aafc1d1ac5e974da85c973c (patch) | |
tree | 85de3bb66899780d7bbe1a2b298e95eefa5d45a9 /arch/arm/mach-at91 | |
parent | ab74a91429ed3e10b27632e22ff681be90d9cd0d (diff) |
ARM: orion: Fix Orion5x GPIO regression from MPP cleanup
Patchset "ARM: orion: Refactor the MPP code common in the orion
platform" broke at least Orion5x based platforms. These platforms have
pins configured as GPIO when the selector is not 0x0. However the
common code assumes the selector is always 0x0 for a GPIO lines. It
then ignores the GPIO bits in the MPP definitions, resulting in that
Orion5x machines cannot correctly configure there GPIO lines.
The Fix removes the assumption that the selector is always 0x0.
In order that none GPIO configurations are correctly blocked,
Kirkwood and mv78xx0 MPP definitions are corrected to only set the
GPIO bits for GPIO configurations.
This third version, which does not contain any whitespace changes,
and is rebased on v3.3-rc2.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-at91')
0 files changed, 0 insertions, 0 deletions