]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: orion5x: Fix GPIO enable bits for MPP9
authorBen Hutchings <ben@decadent.org.uk>
Sun, 8 Apr 2012 04:18:53 +0000 (05:18 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 20 May 2012 21:56:31 +0000 (22:56 +0100)
commit7032ddada0b19778f97d97cbd17fc67257b36054
treed2505007d20dd4e954c6142f94500146996a38f6
parentfc978118a015af70354ea6e2178398629c88478e
ARM: orion5x: Fix GPIO enable bits for MPP9

commit 48d99f47a81a66bdd61a348c7fe8df5a7afdf5f3 upstream.

Commit 554cdaefd1cf7bb54b209c4e68c7cec87ce442a9 ('ARM: orion5x: Refactor
mpp code to use common orion platform mpp.') seems to have accidentally
inverted the GPIO valid bits for MPP9 (only).  For the mv2120 platform
which uses MPP9 as a GPIO LED device, this results in the error:

[   12.711476] leds-gpio: probe of leds-gpio failed with error -22

Reported-by: Henry von Tresckow <hvontres@gmail.com>
References: http://bugs.debian.org/667446
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Tested-by: Hans Henry von Tresckow <hvontres@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-orion5x/mpp.h