Michal Cieslakiewicz 7ac6044632 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-30 23:20:31 +02:00
..
2019-06-12 16:04:25 +02:00
2019-07-31 16:54:50 +02:00
2018-05-24 17:24:30 +02:00
2018-10-19 10:00:48 +02:00
2018-12-13 13:28:41 +01:00
2018-11-05 16:00:47 +01:00
2019-06-12 16:04:25 +02:00
2019-07-31 16:54:50 +02:00
2019-07-31 16:54:50 +02:00
2019-08-14 18:24:41 +02:00
2019-06-03 17:01:20 +02:00
2019-08-28 13:10:08 +02:00
2019-07-31 16:54:50 +02:00
2019-08-06 11:56:18 +02:00
2019-03-29 18:04:39 +01:00
2019-08-09 18:34:08 +02:00
2019-08-09 18:34:08 +02:00
2018-01-09 10:26:16 +01:00
2019-08-14 18:24:41 +02:00
2019-04-22 21:16:53 +02:00
2019-08-14 18:24:41 +02:00
2018-10-10 14:46:25 +02:00
2019-01-13 10:12:56 +01:00
2018-10-09 14:36:00 +02:00
2018-10-19 10:00:48 +02:00
2018-04-19 14:38:57 +02:00
2019-06-20 15:51:03 +02:00
2019-05-21 09:48:48 +02:00
2019-08-06 11:56:18 +02:00
2019-08-27 10:39:49 +02:00