diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/tegra-kbc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index 24f81d9d26d2..01ee74852368 100644 --- a/drivers/input/keyboard/tegra-kbc.c +++ b/drivers/input/keyboard/tegra-kbc.c @@ -48,6 +48,7 @@ #define KBC_DEBOUNCE_CNT_SHIFT(cnt) (cnt << 4) #define KBC_CONTROL_FIFO_CNT_INT_EN (1 << 3) #define KBC_CONTROL_KBC_EN (1 << 0) +#define KBC_CONTROL_KP_INT_EN (1<<1) /* KBC Interrupt Register */ #define KBC_INT_0 0x4 @@ -500,6 +501,7 @@ static int tegra_kbc_start(struct tegra_kbc *kbc) val |= KBC_FIFO_TH_CNT_SHIFT(1); /* set fifo interrupt threshold to 1 */ val |= KBC_CONTROL_FIFO_CNT_INT_EN; /* interrupt on FIFO threshold */ val |= KBC_CONTROL_KBC_EN; /* enable */ + val |= KBC_CONTROL_KP_INT_EN; writel(val, kbc->mmio + KBC_CONTROL_0); writel(DEFAULT_INIT_DLY, kbc->mmio + KBC_INIT_DLY_0); |