ramips: add asiarf awapn2403 support
[oweals/openwrt.git] / target / linux / ramips / patches-3.10 / 0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
index ffd360a2c24b71d5e0c05a1c39c7eb7d5fdbbad6..fd7f7f4f030d8e50204d15e28b2bbe416b4e6a6e 100644 (file)
@@ -277,12 +277,12 @@ Cc: linux-gpio@vger.kernel.org
 +      if (type & IRQ_TYPE_EDGE_RISING)
 +              rg->rising |= mask;
 +      else
-+              rg->rising &= mask;
++              rg->rising &= ~mask;
 +
 +      if (type & IRQ_TYPE_EDGE_FALLING)
 +              rg->falling |= mask;
 +      else
-+              rg->falling &= mask;
++              rg->falling &= ~mask;
 +
 +      return 0;
 +}