aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2012-06-28 09:08:06 -0400
committerHenrik Rydberg <rydberg@euromail.se>2012-06-29 09:58:02 -0400
commit55d6867fe659f4783e57db7b2ae0bb04e4ac816e (patch)
tree24429218c8ecd73760246d742d90958856e14159 /drivers
parent639900380062ecd78ee8b265ea23929c565469b4 (diff)
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: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index c72f595a3203..9f8dd973e5f5 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -263,7 +263,6 @@ struct mxt_data {
263static bool mxt_object_readable(unsigned int type) 263static bool mxt_object_readable(unsigned int type)
264{ 264{
265 switch (type) { 265 switch (type) {
266 case MXT_GEN_MESSAGE_T5:
267 case MXT_GEN_COMMAND_T6: 266 case MXT_GEN_COMMAND_T6:
268 case MXT_GEN_POWER_T7: 267 case MXT_GEN_POWER_T7:
269 case MXT_GEN_ACQUIRE_T8: 268 case MXT_GEN_ACQUIRE_T8: