commit | 018db6bb0d726c3683a5e1eb4621e728965db94c | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@pond.sub.org> | Wed Jul 18 01:20:41 2007 -0400 |
committer | Dmitry Torokhov <dtor@insightbb.com> | Wed Jul 18 01:20:41 2007 -0400 |
tree | ecaca2bab01ab4bb56f74975732a91e421cd86fc | |
parent | 20b3cdd6773be09f7bf52113de0d0c37da287f29 [diff] |
Input: i8042 - restore control register when enabling port fails When enabling interrupts for a port fails, the interrupt enable and port enable bits remain set in i8042_ctr. Later writes of i8042_ctr to the hardware could accidentally retry enabling interrupts. Clear the bits on failure. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>