ath9k: Add a module parameter to invert LED polarity.
authorVittorio Gambaletta (VittGam) <linux-wireless@vittgam.net>
Mon, 11 Apr 2016 02:48:54 +0000 (04:48 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 25 Apr 2016 17:37:03 +0000 (20:37 +0300)
commitcd84042ce9040ad038e958bc67a46fcfc015c736
treee94dd7bf6d29e5e6248ba20ca34a3caea87e6bd7
parent1fe63c9ca8913eb7af6c428cf81abad29e0bc9d6
ath9k: Add a module parameter to invert LED polarity.

The LED can be active high instead of active low on some hardware.

Add the led_active_high module parameter. It defaults to -1 to obey
platform data as before.

Setting the parameter to 1 or 0 will force the LED respectively
active high or active low.

Cc: <linux-wireless@vger.kernel.org>
Cc: <ath9k-devel@qca.qualcomm.com>
Cc: <ath9k-devel@lists.ath9k.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Vittorio Gambaletta <linuxbugs@vittgam.net>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/init.c
This page took 0.028369 seconds and 5 git commands to generate.