diff options
author | John Crispin <blogic@openwrt.org> | 2015-01-08 20:26:13 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-01-08 20:26:13 +0000 |
commit | 15aa6d23b8ec0d250c48fda3208e52edc91c82c1 (patch) | |
tree | 8dc5f0fb457ea1f67a91d73888676096223799e3 /target/linux/gemini | |
parent | e8a5bd7e282f47aeca6a52a7f4cfb696daa87d38 (diff) | |
download | upstream-15aa6d23b8ec0d250c48fda3208e52edc91c82c1.tar.gz upstream-15aa6d23b8ec0d250c48fda3208e52edc91c82c1.tar.bz2 upstream-15aa6d23b8ec0d250c48fda3208e52edc91c82c1.zip |
ramips: Fix for gpio falling interrupt mask
This patch fixes a wrong mask operation for the rt2880-compatible ralink devices.
The mask operation reads the actual flags and then logical combines it with the pin flag it want to set.
Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used.
That caused a problem if you want to use more than one falling GPIO interrupt.
Now the correct (seperated) actual status is used for both, falling and rising.
Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43882 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/gemini')
0 files changed, 0 insertions, 0 deletions