]> asedeno.scripts.mit.edu Git - linux.git/commit
Input: tm2-touchkey - acknowledge that setting brightness is a blocking call
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Feb 2019 18:10:12 +0000 (10:10 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 8 Feb 2019 07:41:12 +0000 (23:41 -0800)
commit0ab0e5a383a78a9e3bd9a02a1b06237fe75fd6a1
treea581b30ce3d034d3b2fe8c2713bd5e86d5e88fd2
parent937c4e552fd1174784045684740edfcea536159d
Input: tm2-touchkey - acknowledge that setting brightness is a blocking call

We need to access I2C bus when switching brightness, and that may block,
therefore we have to set stmfts_brightness_set() as LED's
brightness_set_blocking() method.

Fixes: 72d1f2346ded ("Input: tm2-touchkey - add touchkey driver support for TM2")
Acked-by: Andi Shyti <andi@etezian.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tm2-touchkey.c