diff options
author | Thibaut VARÈNE <hacks@slashdirt.org> | 2018-07-29 12:14:57 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-07-30 11:12:41 +0200 |
commit | cb73dd21a33d17ba3d500a7a52d840087eff0f62 (patch) | |
tree | 67dc3ef5f140bb1c8f3d5805974b5b8cf263907e /include | |
parent | bb06f6d3badf188d407ee34b38e6825ce6a2cb58 (diff) | |
download | upstream-cb73dd21a33d17ba3d500a7a52d840087eff0f62.tar.gz upstream-cb73dd21a33d17ba3d500a7a52d840087eff0f62.tar.bz2 upstream-cb73dd21a33d17ba3d500a7a52d840087eff0f62.zip |
ar71xx: rbspi: fix RB wAP AC gpio conflict and LED
e15c63a37574bd15ce3a6636c2f04741ab76f7b9 introduced code that was trying
to register GPIO 1 as both an LED and a button. The OEM source makes it
clear that LED1 is not wired to the SoC GPIOs. GPIO 1 is the reset button.
Furthermore the (green) power led default state should also be defined,
(matching OEM source), and it should be used by diag.sh since it's
currently the only software-controllable LED.
This patch fixes these issues and renames the corresponding #defines for
clarity
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
(cherry picked from commit e99f760235bb45716018faab52d31ce8165f49a0)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions