search for: i8042_enable_aux_port

Displaying 2 results from an estimated 2 matches for "i8042_enable_aux_port".

2007 Sep 10
1
[PATCH] input: Fix interrupt enable in i8042_ctr when enabling interrupt fails
...n the error path: static int i8042_enable_kbd_port(void) { i8042_ctr &= ~I8042_CTR_KBDDIS; i8042_ctr |= I8042_CTR_KBDINT; if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { printk(KERN_ERR "i8042.c: Failed to enable KBD port.\n"); return -EIO; } return 0; } Same for i8042_enable_aux_port(). This leads to the question whether there are later writes of i8042_ctr (possibly with other bits altered) to the hardware, which could accidentally retry enabling interrupts. I believe this possible, but unlikely (perhaps not so unlikely on virtual machines). Scenarios involve enable succeedi...
2007 Sep 10
1
[PATCH] input: Fix interrupt enable in i8042_ctr when enabling interrupt fails
...n the error path: static int i8042_enable_kbd_port(void) { i8042_ctr &= ~I8042_CTR_KBDDIS; i8042_ctr |= I8042_CTR_KBDINT; if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) { printk(KERN_ERR "i8042.c: Failed to enable KBD port.\n"); return -EIO; } return 0; } Same for i8042_enable_aux_port(). This leads to the question whether there are later writes of i8042_ctr (possibly with other bits altered) to the hardware, which could accidentally retry enabling interrupts. I believe this possible, but unlikely (perhaps not so unlikely on virtual machines). Scenarios involve enable succeedi...