input: Ban digit numbers if 'Num Lock' is not on
authorBin Meng <bmeng.cn@gmail.com>
Thu, 12 Nov 2015 13:33:04 +0000 (05:33 -0800)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:42 +0000 (20:13 -0700)
commite5f330c482034b84f4c7ae2b8f3465f3c9863fb7
tree6c7abe4378b0aa130eee14c71038c06684eec12b
parent377a06964370bd887ec15f77f3e4e179c27fe8b9
input: Ban digit numbers if 'Num Lock' is not on

When 'Num Lock' is not on, we should not send these digit numbers
(0-9 and dot) to the output buffer.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/input/input.c