]> git.proxmox.com Git - mirror_qemu.git/commitdiff
pxa2xx_keypad: fix unbalanced parenthesis.
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>
Tue, 17 Jan 2012 01:14:42 +0000 (02:14 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Tue, 17 Jan 2012 01:14:42 +0000 (02:14 +0100)
Breakage introduced by me when ammending a previous patch, sorry.

hw/pxa2xx_keypad.c

index 0e8021280407cd1a02289451defcc9ba2eb3913c..59db02584e010402e90c96220fa456d149978aa5 100644 (file)
@@ -165,7 +165,7 @@ static void pxa27x_keyboard_event (PXA2xxKeyPadState *kp, int keycode)
         kp->kpas |= ((row & 0xf) << 4) | (col & 0xf);
     }
 
-    if (!(kp->kpc & (KPC_AS | KPC_ASACT))
+    if (!(kp->kpc & (KPC_AS | KPC_ASACT)))
         assert_irq = 0;
 
     if (assert_irq && (kp->kpc & KPC_MIE)) {