Browse Source

ralink: fix typo in gpio irq handling

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 39018
John Crispin 12 years ago
parent
commit
09a933ed73

+ 2 - 2
target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch

@@ -277,12 +277,12 @@ Cc: [email protected]
 +	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;
 +}