]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit08b085a07efe12568d86dff064e6f089e2971744
tree10b738bac955c058ad06db2955aae4b0a69208ad
parentb6ac1280b6969607c5a01e316cc4ab693490c333
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