]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Input: stmfts - fix a & vs && typo
authorYueHaibing <yuehaibing@huawei.com>
Wed, 16 Sep 2020 17:26:09 +0000 (10:26 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 9 Nov 2020 13:49:03 +0000 (14:49 +0100)
commit48f3a80a613a7b8eeaccecff391c0e4062324f32
tree4e2cf4a7f47a966965562b1ec04aca66103b2755
parentd729888a7453b2d5780b252a6a3cdb2ea8e0b2fd
Input: stmfts - fix a & vs && typo

BugLink: https://bugs.launchpad.net/bugs/1902115
[ Upstream commit d04afe14b23651e7a8bc89727a759e982a8458e4 ]

In stmfts_sysfs_hover_enable_write(), we should check value and
sdata->hover_enabled is all true.

Fixes: 78bcac7b2ae1 ("Input: add support for the STMicroelectronics FingerTip touchscreen")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200916141941.16684-1-yuehaibing@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
drivers/input/touchscreen/stmfts.c