[U-Boot] [PATCH 3/6] input: Change LED state bits to conform i8042 compatible keyboard
Simon Glass
sjg at chromium.org
Thu Nov 12 20:58:02 CET 2015
On 12 November 2015 at 06:33, Bin Meng <bmeng.cn at gmail.com> wrote:
> When sending LED update command to an i8042 compatible keyboard,
> bit1 is 'Num Lock' and bit2 is 'Caps Lock' in the data byte. But
> input library defines bit1 as 'Caps Lock' and bit2 as 'Num Lock'.
> This causes a wrong LED to be set on an i8042 compatible keyboard.
> Change the LED state bits to be i8042 compatible, and change the
> keyboard flags as well.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> drivers/input/input.c | 6 +++---
> include/input.h | 4 ++--
> 2 files changed, 5 insertions(+), 5 deletions(-)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list