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)
commit937c4e552fd1174784045684740edfcea536159d
treeb78025dc87babe6a08913832ad61a2afe7d69c34
parent576057bf75cb3e40ff81bb01f021d76b764fdc92
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: 78bcac7b2ae1 ("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