diff options
author | Senthil Balasubramanian <senthilkumar@atheros.com> | 2011-04-22 11:32:08 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-25 14:50:17 -0400 |
commit | 353e5019e048562dc8f434c6237d41ef5e758922 (patch) | |
tree | d0705d59fbe4a816112fbffd746473908d34d8a6 /drivers/net/wireless/ath/ath9k/gpio.c | |
parent | 40db6c77ab48c3f3240422ff92fd6da222e2eb95 (diff) | |
download | linux-3.10-353e5019e048562dc8f434c6237d41ef5e758922.tar.gz linux-3.10-353e5019e048562dc8f434c6237d41ef5e758922.tar.bz2 linux-3.10-353e5019e048562dc8f434c6237d41ef5e758922.zip |
ath9k: Fix LED gpio for AR93xx chipsets.
The LED gpio is incorrectly programmed for AR9300 and so the led
is not working propelry. AR93xx uses gpio 10 for LED and not the
default.
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/gpio.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/gpio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c index cc5fad6a401..2c59452a720 100644 --- a/drivers/net/wireless/ath/ath9k/gpio.c +++ b/drivers/net/wireless/ath/ath9k/gpio.c @@ -46,6 +46,8 @@ void ath_init_leds(struct ath_softc *sc) sc->sc_ah->led_pin = ATH_LED_PIN_9287; else if (AR_SREV_9485(sc->sc_ah)) sc->sc_ah->led_pin = ATH_LED_PIN_9485; + else if (AR_SREV_9300(sc->sc_ah)) + sc->sc_ah->led_pin = ATH_LED_PIN_9300; else sc->sc_ah->led_pin = ATH_LED_PIN_DEF; } |