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

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.

Fixes: FS#2098

Signed-off-by: Mathias Kresin <dev@kresin.me>
(cherry picked from commit d35f2a5565)
2019-02-10 17:59:18 +01:00
..
files mac80211: add iw command wrapper with error logging 2018-11-07 12:00:45 +01:00
patches ath9k: register GPIO chip for OF targets 2019-02-10 17:59:18 +01:00
scripts mac80211: add a maintenance script for upstream backport commits 2014-10-18 17:39:04 +00:00
Makefile mac80211: Expose support for ath9k Dynack 2018-07-12 11:46:17 +02:00