diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-10-19 03:42:32 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-10-19 03:42:32 +0200 |
commit | bb0bc0cfeabc0d6865865e8d3a601bea6711f951 (patch) | |
tree | f5321f28b6ea9c557316980226c6139a45a3aec9 /drivers/input/touchscreen/stmfts.c | |
parent | Input: i8042 - add nopnp quirk for Acer Aspire 5 A515 (diff) | |
parent | Input: Add MAINTAINERS entry for SiS i2c touch input driver (diff) | |
download | linux-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.c | 2 |
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) |