diff options
author | Simon Glass <sjg@chromium.org> | 2012-09-27 15:18:42 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:04 -0700 |
commit | 71dc6bca4ef61d10f1327114ac1d53b6865a6030 (patch) | |
tree | 287f0de81f8b4008c11a07296ec272d7ed76d843 /drivers/input/tegra-kbc.c | |
parent | 1b1d3e6461e9195f825d6d8aa6a2a0e1e3188f62 (diff) |
input: Allow key ghosting filter to be disabled
Some keyboards will not need a key ghosting filter, so make this feature
optional.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/input/tegra-kbc.c')
-rw-r--r-- | drivers/input/tegra-kbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tegra-kbc.c b/drivers/input/tegra-kbc.c index 9a309421f0..6f1cfd8155 100644 --- a/drivers/input/tegra-kbc.c +++ b/drivers/input/tegra-kbc.c @@ -325,7 +325,7 @@ static int init_tegra_keyboard(void) KBC_REPEAT_RATE_MS); /* Decode the keyboard matrix information (16 rows, 8 columns) */ - if (key_matrix_init(&config.matrix, 16, 8)) { + if (key_matrix_init(&config.matrix, 16, 8, 1)) { debug("%s: Could not init key matrix\n", __func__); return -1; } |