diff options
author | John Crispin <john@openwrt.org> | 2015-01-08 20:26:13 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-01-08 20:26:13 +0000 |
commit | 5ea31bbc582c745abea2a54ccfd341fade1207cd (patch) | |
tree | bf6846c6b691c6490a3d559908c94872d5a33bf5 /target/linux/ramips/rt305x | |
parent | 2ea64717e2ef72d7181256daa2528ee147ad99a1 (diff) | |
download | mtk-20170518-5ea31bbc582c745abea2a54ccfd341fade1207cd.zip mtk-20170518-5ea31bbc582c745abea2a54ccfd341fade1207cd.tar.gz mtk-20170518-5ea31bbc582c745abea2a54ccfd341fade1207cd.tar.bz2 |
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>
SVN-Revision: 43882
Diffstat (limited to 'target/linux/ramips/rt305x')
0 files changed, 0 insertions, 0 deletions