Skip to content
Snippets Groups Projects
Commit 5ea31bbc authored by John Crispin's avatar John Crispin
Browse files

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: default avatarJonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

SVN-Revision: 43882
parent 2ea64717
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment