openwrt/package/kernel/mac80211
Mathias Kresin d35f2a5565 ath9k: register GPIO chip for OF targets
This partitialy reverts commit ccab68f2d3.

Registering the GPIO chip without a parent device completely breaks the
ath9k GPIOs for device tree targets.

As long as boards using the devicetree don't have the gpio-controller
property set for the ath9k node, the unloading of the driver works as
expected.

Register the GPIO chip with the ath9k device as parent only for OF
targets to find a trade-off between the needs of driver developers and
the broken LEDs and buttons seen by users.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-12-12 12:28:26 +01:00
..
files mac80211: add iw command wrapper with error logging 2018-09-10 09:03:09 +02:00
patches ath9k: register GPIO chip for OF targets 2018-12-12 12:28:26 +01:00
scripts mac80211: add a maintenance script for upstream backport commits 2014-10-18 17:39:04 +00:00
ath.mk mac80211: move atheros/qca packaging code to ath.mk 2018-10-06 13:02:29 +02:00
broadcom.mk mac80211: move broadcom packaging code to broadcom.mk 2018-10-06 13:02:29 +02:00
intel.mk mac80211: move intel packaging code to intel.mk 2018-10-06 13:02:29 +02:00
Makefile mac80211: hermes-pcmcia: add missing dependency to kmod-pcmcia-core 2018-10-21 16:46:16 +02:00
marvell.mk mac80211: move marvell packaging code to marvell.mk 2018-10-06 13:02:29 +02:00
ralink.mk mac80211: move rt2x00 packaging code to ralink.mk 2018-10-06 13:02:29 +02:00
realtek.mk mac80211: move realtek packaging code to realtek.mk 2018-10-06 13:02:29 +02:00