input: Fix i8042 keyboard reset
authorMarc Jones <marc.jones@chromium.org>
Thu, 11 Oct 2012 15:15:52 +0000 (15:15 +0000)
committerTom Rini <trini@ti.com>
Fri, 19 Oct 2012 22:25:43 +0000 (15:25 -0700)
commit59a1b72ced4f3eff6e7e26e566e6090a5e25d384
tree7b432e9dc9e8c83b746001dcaed822798dd9151d
parent45fe668f5f6065f37836d5e941f36418fa3676cd
input: Fix i8042 keyboard reset

The i8042 keyboard reset was not checking the results of the output
buffer after the reset command. This can jam up some KBC/keyboards.
Also, remove a write to the wrong register and the CONFIG setting
around the incorrect write.

Signed-off-by: Marc Jones <marc.jones@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@ti.com>
drivers/input/i8042.c