Skip to content

Commit

Permalink
Input: psmouse - add newline to OLPC HGPK touchpad debugging
Browse files Browse the repository at this point in the history
When probing for the OLPC HGPK touchpad the ID of the probed touchpad is
emitted, but the debug is missing the terminating newline.  This causes
later information to run into it, and for that to be categorised
incorrectly at KERN_DBG.  Fix this up.

Reported-by: Matt Zimmerman <mdz@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Andy Whitcroft authored and Dmitry Torokhov committed Feb 28, 2009
1 parent 8a49cfa commit 0f49548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/mouse/hgpk.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ static enum hgpk_model_t hgpk_get_model(struct psmouse *psmouse)
return -EIO;
}

hgpk_dbg(psmouse, "ID: %02x %02x %02x", param[0], param[1], param[2]);
hgpk_dbg(psmouse, "ID: %02x %02x %02x\n", param[0], param[1], param[2]);

/* HGPK signature: 0x67, 0x00, 0x<model> */
if (param[0] != 0x67 || param[1] != 0x00)
Expand Down

0 comments on commit 0f49548

Please sign in to comment.