aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2012-01-17 02:14:42 +0100
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>2012-01-17 02:14:42 +0100
commit8c4ec5c0269bda18bb777a64b2008088d1c632dc (patch)
tree0218b39900525d3b6d39c1ad50b109be3d4161a7
parent078758d0741c30d44246383ce5c2ba43281e9aec (diff)
pxa2xx_keypad: fix unbalanced parenthesis.
Breakage introduced by me when ammending a previous patch, sorry.
-rw-r--r--hw/pxa2xx_keypad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pxa2xx_keypad.c b/hw/pxa2xx_keypad.c
index 0e80212804..59db02584e 100644
--- a/hw/pxa2xx_keypad.c
+++ b/hw/pxa2xx_keypad.c
@@ -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)) {