diff options
author | Petr Štetiar <ynezz@true.cz> | 2019-05-16 12:10:03 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-05-17 21:41:42 +0200 |
commit | 8be66c2332b2eaf1b1114edb4b5fd7936569a6af (patch) | |
tree | 56afcfe9a8a13b668d54da59a39c83a6f4ce03dc /toolchain/fortify-headers | |
parent | e2c0a2cb953938df0b258258498c69b5bba13917 (diff) | |
download | upstream-8be66c2332b2eaf1b1114edb4b5fd7936569a6af.tar.gz upstream-8be66c2332b2eaf1b1114edb4b5fd7936569a6af.tar.bz2 upstream-8be66c2332b2eaf1b1114edb4b5fd7936569a6af.zip |
ath79: ar9330: fix switch_led_disable_pins reg value
In commit e9652e1696d9 ("ath79: fix pinmux for ar933x devices") I've
wrongly changed desired register value to 0xf8 although it should've
been set to 0x0.
0xf8 value sets bits 3-7 (ETH_SWITCH_LEDx_EN) to 1 which actually
enables ethernet switch LEDs, so 0x0 is correct value in order to use
the pins as GPIO.
Fixes: e9652e1696d9 ("ath79: fix pinmux for ar933x devices")
Reported-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'toolchain/fortify-headers')
0 files changed, 0 insertions, 0 deletions