ath9k: Fix LED GPIO pin for AR9462
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Tue, 29 Nov 2011 14:36:15 +0000 (20:06 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Nov 2011 20:08:33 +0000 (15:08 -0500)
GPIO pin 4 is assigned AR9462 chipsets LED.
while GPIO pin 0 worked for obselete AR9462 chipsets though
they are meant for EEPROM as per Russell

Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
Signed-off-by: Russell Hu <rhu@qca.qualcomm.com>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h

index 93b45b4b3033a5b7d90b8e42c3cade525c5d2fec..386402c37158da79bba7552f11b071a34ef930b0 100644 (file)
@@ -462,7 +462,7 @@ void ath9k_btcoex_timer_pause(struct ath_softc *sc);
 #define ATH_LED_PIN_9287               8
 #define ATH_LED_PIN_9300               10
 #define ATH_LED_PIN_9485               6
-#define ATH_LED_PIN_9462               0
+#define ATH_LED_PIN_9462               4
 
 #ifdef CONFIG_MAC80211_LEDS
 void ath_init_leds(struct ath_softc *sc);