]> git.baikalelectronics.ru Git - kernel.git/commit
gpio-stp-xway: Fix enabling the highest bit of the PHY LEDs
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 25 May 2015 20:39:50 +0000 (22:39 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 1 Jun 2015 14:53:55 +0000 (16:53 +0200)
commit2944e30e372c293067c7817e2e5be2f81cc765d8
tree10b738bac955c058ad06db2955aae4b0a69208ad
parent8698397d51455f343a259793b0ed443fd88ae621
gpio-stp-xway: Fix enabling the highest bit of the PHY LEDs

0x3 only masks two bits, but three bits have to be allowed. This fixes
GPHY0 LED2 (which is the highest bit of phy2) on my board.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-stp-xway.c