]> git.baikalelectronics.ru Git - kernel.git/commit
Input: stmfts - acknowledge that setting brightness is a blocking call
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 5 Feb 2019 22:40:40 +0000 (14:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 8 Feb 2019 07:41:11 +0000 (23:41 -0800)
commit6321047c90dcc7409c99a511fa979813d5c5a352
treeb78025dc87babe6a08913832ad61a2afe7d69c34
parent4913f90ae12b7463732df1f626948851dc73a30e
Input: stmfts - acknowledge that setting brightness is a blocking call

We need to turn regulators on and off when switching brightness, and
that may block, therefore we have to set stmfts_brightness_set() as
LED's brightness_set_blocking() method.

Fixes: 29449bb8858f ("Input: add support for the STMicroelectronics FingerTip touchscreen")
Acked-by: Andi Shyti <andi@etezian.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/stmfts.c