projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689e756
)
ath9k: do not register LEDs on AR913x
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 12 Apr 2012 20:35:57 +0000
(22:35 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 16 Apr 2012 18:19:28 +0000
(14:19 -0400)
LED support is typically handled via system GPIO on these platforms.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/gpio.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/gpio.c
b/drivers/net/wireless/ath/ath9k/gpio.c
index fbe23de1297f67cbf520007b160f719cb6af3e43..dd10f4ac03efabd6c12e528629a46a87d62be1eb 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/gpio.c
+++ b/
drivers/net/wireless/ath/ath9k/gpio.c
@@
-41,6
+41,9
@@
void ath_init_leds(struct ath_softc *sc)
{
int ret;
+ if (AR_SREV_9100(sc->sc_ah))
+ return;
+
if (sc->sc_ah->led_pin < 0) {
if (AR_SREV_9287(sc->sc_ah))
sc->sc_ah->led_pin = ATH_LED_PIN_9287;