aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index 12a6ba2792a7..42e645062c20 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -325,16 +325,12 @@ static bool mxt_object_writable(unsigned int type)
325} 325}
326 326
327static void mxt_dump_message(struct device *dev, 327static void mxt_dump_message(struct device *dev,
328 struct mxt_message *message) 328 struct mxt_message *message)
329{ 329{
330 dev_dbg(dev, "reportid:\t0x%x\n", message->reportid); 330 dev_dbg(dev, "reportid: %u\tmessage: %02x %02x %02x %02x %02x %02x %02x\n",
331 dev_dbg(dev, "message1:\t0x%x\n", message->message[0]); 331 message->reportid, message->message[0], message->message[1],
332 dev_dbg(dev, "message2:\t0x%x\n", message->message[1]); 332 message->message[2], message->message[3], message->message[4],
333 dev_dbg(dev, "message3:\t0x%x\n", message->message[2]); 333 message->message[5], message->message[6]);
334 dev_dbg(dev, "message4:\t0x%x\n", message->message[3]);
335 dev_dbg(dev, "message5:\t0x%x\n", message->message[4]);
336 dev_dbg(dev, "message6:\t0x%x\n", message->message[5]);
337 dev_dbg(dev, "message7:\t0x%x\n", message->message[6]);
338} 334}
339 335
340static int mxt_check_bootloader(struct i2c_client *client, 336static int mxt_check_bootloader(struct i2c_client *client,