Skip to content
Commit 966334df authored by Derek Basehore's avatar Derek Basehore Committed by Dmitry Torokhov
Browse files

Input: elan_i2c - only increment wakeup count on touch



This moves the wakeup increment for elan devices to the touch report.
This prevents the drivers from incorrectly reporting a wakeup when the
resume callback resets then device, which causes an interrupt to
occur.

Signed-off-by: default avatarDerek Basehore <dbasehore@chromium.org>
Link: https://lore.kernel.org/r/20200706235046.1984283-1-dbasehore@chromium.org
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent dcb00fc7
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