diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-02-06 17:38:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-10 17:34:02 +0300 |
commit | fda4ae1819ce3603857a6baceda53d2c46d5bbd9 (patch) | |
tree | 3e1d4ba0a0155e452b64d38fd4fd8a689c86218e /arch/x86/include/asm/mshyperv.h | |
parent | 204a4f6d67a4d7e65571c21bd90039fdccc35b2c (diff) | |
download | linux-fda4ae1819ce3603857a6baceda53d2c46d5bbd9.tar.xz |
misc: panel: Abstract temporary backlight handling
Currently the periodic scan timer is used for three purposes,
entangling keypad and display handling, which are both optional:
1. Scanning the keypad,
2. Flashing the backlight when a key is pressed,
3. Disabling temporary backlighting after a fixed period of time.
Abstract the second purpose using a new lcd_poke() function.
Make the non-periodic temporary backlight handling independent from
keypad handling by converting it to a delayed workqueue.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include/asm/mshyperv.h')
0 files changed, 0 insertions, 0 deletions