diff options
author | Mathias Kresin <dev@kresin.me> | 2018-12-07 09:42:09 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-12-12 12:28:26 +0100 |
commit | d35f2a5565fc51fb277f72a8565c871ce1785588 (patch) | |
tree | ad1745e407ec3399cd0df134664fe2a9d8c415c0 /LICENSE | |
parent | 0fdfdaef2dc61ce528afa8e08a77bde61013ae9e (diff) | |
download | upstream-d35f2a5565fc51fb277f72a8565c871ce1785588.tar.gz upstream-d35f2a5565fc51fb277f72a8565c871ce1785588.tar.bz2 upstream-d35f2a5565fc51fb277f72a8565c871ce1785588.zip |
ath9k: register GPIO chip for OF targets
This partitialy reverts commit ccab68f2d399.
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>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions