]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BCM47XX: Add Luxul XAP1500/XWR1750 WiFi LEDs
authorDan Haab <dan.haab@luxul.com>
Tue, 27 Mar 2018 17:24:34 +0000 (11:24 -0600)
committerJames Hogan <jhogan@kernel.org>
Wed, 28 Mar 2018 14:59:36 +0000 (15:59 +0100)
commitd1e48a051877c722f16f8698b6e08dcd0d86edba
treeaa033fc0d30220d3b6fa166d3407450ca1398930
parent468eb23d9f914dd464ac97e2257555ca5e33224d
MIPS: BCM47XX: Add Luxul XAP1500/XWR1750 WiFi LEDs

Some Luxul devices use PCIe connected GPIO LEDs that are not available
until the PCI subsytem and its drivers load. Using the same array for
these LEDs would block registering any LEDs until all GPIOs become
available. This may be undesired behavior as some LEDs should be
available as early as possible (e.g. system status LED). This patch will
allow registering available LEDs while deferring these PCIe GPIO
connected 'extra' LEDs until they become available.

Signed-off-by: Dan Haab <dan.haab@luxul.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18952/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/bcm47xx/leds.c