OSDN Git Service

Input: pxa27x_keypad bug fix for direct_key_mask
authorChao Xie <chao.xie@marvell.com>
Sun, 1 Apr 2012 02:08:02 +0000 (10:08 +0800)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Fri, 27 Apr 2012 08:48:33 +0000 (16:48 +0800)
commit5545fa897a0a1a34249e98ea4244b256cbe58df3
tree40d5e5f83d7fc5ae447388468b161fedd0616123
parent6ce34a5fb4955fac1eebe080e1c2784bc8710449
Input: pxa27x_keypad bug fix for direct_key_mask

When direcct_key_num is 0, the mask should be 0.
When direcct_key_num is 1, the mask should be 0b1.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
drivers/input/keyboard/pxa27x_keypad.c