]> git.sur5r.net Git - u-boot/commit
i8042: Handle a duplicate power-on-reset response
authorSimon Glass <sjg@chromium.org>
Wed, 11 Nov 2015 17:05:46 +0000 (10:05 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:41 +0000 (20:13 -0700)
commit011d89d6066592a67253df81905ace358968dacc
tree235e6b27e160d8f030c81a36dc185ca628b6aad4
parentdcbf825714e27a4c39edcc36c7623b37bc40040a
i8042: Handle a duplicate power-on-reset response

Sometimes we seem to get 0xaa twice which causes the config read to fail.
This causes chromebook_link to fail to set up the keyboard.

Add a check for this and read the config again when detected.

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