]> git.baikalelectronics.ru Git - kernel.git/commit
Input: stmfts - fix a & vs && typo
authorYueHaibing <yuehaibing@huawei.com>
Wed, 16 Sep 2020 17:26:09 +0000 (10:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 16 Sep 2020 17:38:58 +0000 (10:38 -0700)
commited506b1cea842ccc6a9ff6b8eeeeeefe9c1df4e7
tree7a117f9b8d7e66e613459a8dc668508d6b51fe2b
parent957a718f9a8481d8d0aad6ec752f5ed7541ac48a
Input: stmfts - fix a & vs && typo

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

Fixes: 8b74d0821efc ("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>
drivers/input/touchscreen/stmfts.c