Message ID | 20190513225215.29925-1-guido.aulisi@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Input: i8042: Add missing dbg msg when a command can't write its parameter | expand |
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 95a78ccbd847..0563b63094ef 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -304,8 +304,10 @@ static int __i8042_command(unsigned char *param, int command) return -1; error = i8042_wait_write(); - if (error) + if (error) { + dbg(" -- i8042 (wait write timeout)\n"); return error; + } dbg("%02x -> i8042 (command)\n", command & 0xff); i8042_write_command(command & 0xff);