summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2009-02-28 14:55:46 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-02-28 14:56:23 -0800
commit0f4954819fb6f840d46076f0dbd313ef5da48f5d (patch)
tree816ab0ae7e9c7898ade7db32f9e47c5fa06f40b2 /drivers/input
parent8a49cfa9de4ef47eb9238d625b900d4cdddccf30 (diff)
downloadop-kernel-dev-0f4954819fb6f840d46076f0dbd313ef5da48f5d.zip
op-kernel-dev-0f4954819fb6f840d46076f0dbd313ef5da48f5d.tar.gz
Input: psmouse - add newline to OLPC HGPK touchpad debugging
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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/mouse/hgpk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/hgpk.c b/drivers/input/mouse/hgpk.c
index 81e6ebf..a14a6b0 100644
--- a/drivers/input/mouse/hgpk.c
+++ b/drivers/input/mouse/hgpk.c
@@ -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)
OpenPOWER on IntegriCloud