diff options
author | Tim Harvey <tharvey@gateworks.com> | 2017-09-08 11:56:59 -0700 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-09-11 17:03:21 +0200 |
commit | 79366b81945d38ce1afd0bca867a0a457e0605f9 (patch) | |
tree | 4cc4a5d58a948681fe5b35951c8b7553dcfa793b /target/linux/ar71xx/files/drivers | |
parent | d5b7215e3144c32893e7bc44056bac1e217dd9f3 (diff) | |
download | upstream-79366b81945d38ce1afd0bca867a0a457e0605f9.tar.gz upstream-79366b81945d38ce1afd0bca867a0a457e0605f9.tar.bz2 upstream-79366b81945d38ce1afd0bca867a0a457e0605f9.zip |
cns3xxx: fix GPIO controller interrupt enable
The cns3xxx interrupt controller uses a single register and as such
the 'mask' reg/functions must be used as opposed to the 'enable'/'disable'
reg/functions.
This fixes an issue that occurs if more than one GPIO on a specific controller
(there is GPIOA and GPIOB each having 32 GPIO's) uses interrupts. When one
would get enabled all others would be disabled prior to this patch.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Acked-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
0 files changed, 0 insertions, 0 deletions