]> git.baikalelectronics.ru Git - kernel.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)
committerJason Cooper <jason@lakedaemon.net>
Tue, 8 May 2012 18:57:21 +0000 (18:57 +0000)
commit89b207d6848f8712741e9d222aea5e98d98f8a8c
treeab82af3579f8825a5b3c24e33ced15d61c3fffca
parentd9a06b43aa45400359c86022fadf506a6d6c51e1
ARM: orion5x: Fix GPIO enable bits for MPP9

Commit 219a0ea6d1e5b62e85be1aba98e1a5411c69df6a ('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>
Cc: stable@vger.kernel.org [v3.0+]
Tested-by: Hans Henry von Tresckow <hvontres@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-orion5x/mpp.h