We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eebed7 commit 46146e7Copy full SHA for 46146e7
drivers/input/keyboard/nspire-keypad.c
@@ -122,7 +122,7 @@ static int nspire_keypad_chip_init(struct nspire_keypad *keypad)
122
123
/* Enable interrupts */
124
keypad->int_mask = 1 << 1;
125
- writel(keypad->int_mask, keypad->reg_base + 0xc);
+ writel(keypad->int_mask, keypad->reg_base + KEYPAD_INTMSK);
126
127
/* Disable GPIO interrupts to prevent hanging on touchpad */
128
/* Possibly used to detect touchpad events */
0 commit comments