Commit 55d6867f authored by Daniel Kurtz's avatar Daniel Kurtz Committed by Henrik Rydberg

Input: atmel_mxt_ts - don't read T5 when dumping objects

T5 is the message processor object.  Reading it will only have two
outcomes, neither of which is particularly useful:
 1) the message count decrements, and a valid message will be lost
 2) an invalid message will be read (reportid == 0xff)
Signed-off-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
Signed-off-by: default avatarHenrik Rydberg <rydberg@euromail.se>
parent 63990038
...@@ -263,7 +263,6 @@ struct mxt_data { ...@@ -263,7 +263,6 @@ struct mxt_data {
static bool mxt_object_readable(unsigned int type) static bool mxt_object_readable(unsigned int type)
{ {
switch (type) { switch (type) {
case MXT_GEN_MESSAGE_T5:
case MXT_GEN_COMMAND_T6: case MXT_GEN_COMMAND_T6:
case MXT_GEN_POWER_T7: case MXT_GEN_POWER_T7:
case MXT_GEN_ACQUIRE_T8: case MXT_GEN_ACQUIRE_T8:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment