tools: install a fake empty ldconfig script to prevent the system ldconfig from messi...
[openwrt.git] / target / linux / ramips / patches-3.10 / 0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
index 989d2f3..fd7f7f4 100644 (file)
@@ -271,18 +271,18 @@ Cc: linux-gpio@vger.kernel.org
 +              if ((rg->rising | rg->falling) & mask)
 +                      return 0;
 +
-+              type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_RISING;
++              type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING;
 +      }
 +
 +      if (type & IRQ_TYPE_EDGE_RISING)
 +              rg->rising |= mask;
 +      else
-+              rg->rising &= mask;
++              rg->rising &= ~mask;
 +
-+      if (type & IRQ_TYPE_EDGE_RISING)
++      if (type & IRQ_TYPE_EDGE_FALLING)
 +              rg->falling |= mask;
 +      else
-+              rg->falling &= mask;
++              rg->falling &= ~mask;
 +
 +      return 0;
 +}