mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	ralink: fix typo in gpio irq handling
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39018
This commit is contained in:
		
							parent
							
								
									a65c9e5b20
								
							
						
					
					
						commit
						09a933ed73
					
				@ -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;
 | 
			
		||||
+}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user