]> git.baikalelectronics.ru Git - kernel.git/commit
Input: iqs7222 - avoid sending empty SYN_REPORT events
authorJeff LaBundy <jeff@labundy.com>
Thu, 8 Sep 2022 21:24:24 +0000 (14:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Sep 2022 10:08:49 +0000 (03:08 -0700)
commit12313a6f1ee40f18f88aa1a5c852d3bb6ec3f92a
tree8efafdb71c42b39dcdbbc3cab3b4b976b5ad0c0a
parentb49d2b2cffe827d6ed67ab85c3e4b60a4373c47d
Input: iqs7222 - avoid sending empty SYN_REPORT events

Add a check to prevent sending undefined events, which ultimately
map to SYN_REPORT.

Fixes: a8b0abcc88cc ("Input: add support for Azoteq IQS7222A/B/C")
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/20220908131548.48120-7-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/iqs7222.c