Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/gpio.c

Issue 6900058: ath9k: Fix LED gpio for AR93xx chipsets. (Closed) Base URL: ssh://gitrw.chromium.org:9222/kernel.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/gpio.c
diff --git a/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/gpio.c b/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/gpio.c
index 1337640692463428c6599acfd2b0556fa06a7ff9..41bb6f5606e0900001cabceddef5fa13fb967e67 100644
--- a/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/gpio.c
+++ b/chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/gpio.c
@@ -135,6 +135,8 @@ void ath_init_leds(struct ath_softc *sc)
if (AR_SREV_9287(sc->sc_ah))
sc->sc_ah->led_pin = ATH_LED_PIN_9287;
+ 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;
« no previous file with comments | « chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698