Files
openwrt/target/linux
Michal Cieslakiewicz dddb43775f ar71xx: WNR2200: remove redundant GPIO for WLAN LED
Without this patch, an extra entry appears for AR9287 GPIO
that duplicates WLAN LED but in fact drives nothing:

gpiochip1: GPIOs 502-511, ath9k-phy0:
 gpio-502 (                    |netgear:blue:wlan   ) out hi
 gpio-503 (                    |netgear:amber:test  ) out hi
 gpio-504 (                    |netgear:green:power ) out lo
 gpio-505 (                    |rfkill              ) in  hi
 gpio-507 (                    |wps                 ) in  hi
 gpio-508 (                    |reset               ) in  hi
 gpio-510 (                    |ath9k-phy0          ) out hi <===!

The pin pointed above is default LED GPIO (8) for AR9287.
For WNR2200 it is not connected anywhere - pin 0 drives blue WLAN
LED instead - but initialization code is missing that information.

This fix calls ap9x_pci_setup_wmac_led_pin() function at device
setup, forcing WLAN LED pin to be 0 and removing redundant entry.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-08-31 12:08:23 +02:00
..
2019-07-31 16:51:46 +02:00
2019-07-10 16:56:16 +02:00
2019-08-28 13:08:20 +02:00
2019-07-31 16:51:46 +02:00
2019-08-30 16:45:54 +02:00
2019-08-30 16:45:54 +02:00
2019-07-31 16:51:46 +02:00
2019-08-28 13:08:20 +02:00
2019-08-22 21:15:28 +02:00
2019-08-06 11:52:47 +02:00
2019-08-06 11:52:47 +02:00
2019-08-30 16:45:54 +02:00
2019-03-11 19:35:43 +01:00
2019-08-02 22:45:02 +02:00
2019-05-11 17:15:41 +02:00
2019-05-11 17:15:41 +02:00
2019-08-27 10:32:44 +02:00
2019-08-17 16:57:32 +02:00
2010-08-06 21:36:35 +00:00