aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2019-02-05 21:52:26 +0000
committerDmitry Torokhov <[email protected]>2019-02-09 16:56:56 +0000
commit628442880af8c201d307a45f3862a7a17df8a189 (patch)
tree6ca375821759ee24104dd05cb3c44d73999e6b53 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentInput: elantech - enable 3rd button support on Fujitsu CELSIUS H780 (diff)
downloadkernel-628442880af8c201d307a45f3862a7a17df8a189.tar.gz
kernel-628442880af8c201d307a45f3862a7a17df8a189.zip
Input: cap11xx - switch to using set_brightness_blocking()
Updating LED state requires access to regmap and therefore we may sleep, so we could not do that directly form set_brightness() method. Historically we used private work to adjust the brightness, but with the introduction of set_brightness_blocking() we no longer need it. As a bonus, not having our own work item means we do not have use-after-free issue as we neglected to cancel outstanding work on driver unbind. Reported-by: Sven Van Asbroeck <[email protected]> Reviewed-by: Sven Van Asbroeck <[email protected]> Acked-by: Jacek Anaszewski <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions