projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HID: i2c-hid: print the correct data in dbg msg
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
i2c-hid
/
i2c-hid.c
diff --git
a/drivers/hid/i2c-hid/i2c-hid.c
b/drivers/hid/i2c-hid/i2c-hid.c
index 747d54421e733a407949f50762bb62c5e596fb34..933bf1052ec06b282eba735e6aa356bfb68483da 100644
(file)
--- a/
drivers/hid/i2c-hid/i2c-hid.c
+++ b/
drivers/hid/i2c-hid/i2c-hid.c
@@
-437,7
+437,7
@@
static void i2c_hid_init_report(struct hid_report *report, u8 *buffer,
report->id, buffer, size))
return;
- i2c_hid_dbg(ihid, "report (len=%d): %*ph\n", size, size,
ihid->inbuf
);
+ i2c_hid_dbg(ihid, "report (len=%d): %*ph\n", size, size,
buffer
);
ret_size = buffer[0] | (buffer[1] << 8);