immortalwrt/package/kernel
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
..
acx-mac80211
ar7-atm
ath10k-ct
avila-wdt
brcm2708-gpu-fw
broadcom-wl
button-hotplug
cryptodev-linux
dtc/patches
gpio-button-hotplug
gpio-nct5104d
hwmon-gsc
i2c-gpio-custom
kmod-sched-cake
lantiq
leds-apu2
linux
mac80211 ath9k: register GPIO chip for OF targets 2018-12-12 12:28:26 +01:00
mt76
mwlwifi
om-watchdog
rotary-gpio-custom
rtc-rv5c386a
spi-gpio-custom
trelay
w1-gpio-custom