ralink: fix typo in gpio irq handling

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39018
This commit is contained in:
John Crispin 2013-12-09 17:29:24 +00:00
parent a65c9e5b20
commit 09a933ed73

View File

@ -277,12 +277,12 @@ Cc: linux-gpio@vger.kernel.org
+ if (type & IRQ_TYPE_EDGE_RISING) + if (type & IRQ_TYPE_EDGE_RISING)
+ rg->rising |= mask; + rg->rising |= mask;
+ else + else
+ rg->rising &= mask; + rg->rising &= ~mask;
+ +
+ if (type & IRQ_TYPE_EDGE_FALLING) + if (type & IRQ_TYPE_EDGE_FALLING)
+ rg->falling |= mask; + rg->falling |= mask;
+ else + else
+ rg->falling &= mask; + rg->falling &= ~mask;
+ +
+ return 0; + return 0;
+} +}