summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/stmfts.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2020-10-19 03:42:32 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-10-19 03:42:32 +0200
commitbb0bc0cfeabc0d6865865e8d3a601bea6711f951 (patch)
treef5321f28b6ea9c557316980226c6139a45a3aec9 /drivers/input/touchscreen/stmfts.c
parentInput: i8042 - add nopnp quirk for Acer Aspire 5 A515 (diff)
parentInput: Add MAINTAINERS entry for SiS i2c touch input driver (diff)
downloadlinux-bb0bc0cfeabc0d6865865e8d3a601bea6711f951.tar.xz
linux-bb0bc0cfeabc0d6865865e8d3a601bea6711f951.zip
Merge branch 'next' into for-linus
Prepare input updates for 5.10 merge window.
Diffstat (limited to 'drivers/input/touchscreen/stmfts.c')
-rw-r--r--drivers/input/touchscreen/stmfts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/stmfts.c b/drivers/input/touchscreen/stmfts.c
index df946869d4cd..9a64e1dbc04a 100644
--- a/drivers/input/touchscreen/stmfts.c
+++ b/drivers/input/touchscreen/stmfts.c
@@ -479,7 +479,7 @@ static ssize_t stmfts_sysfs_hover_enable_write(struct device *dev,
mutex_lock(&sdata->mutex);
- if (value & sdata->hover_enabled)
+ if (value && sdata->hover_enabled)
goto out;
if (sdata->running)