summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHongyan Xu <getshell@seu.edu.cn>2026-08-15 18:59:50 +0800
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2026-08-17 09:50:55 +0200
commite3e3bf40916c1e810df03958cfa7ba6883cdce79 (patch)
tree393307acc824aac5641edbce21a981d9922c8a00 /tools/perf/scripts/python/bin
parent95545ddcb3cfb390c59429b1c18aaf187d6768ba (diff)
auxdisplay: charlcd: cancel backlight work on registration failure
With CONFIG_CHARLCD_BL_FLASH, charlcd_init() schedules bl_work before charlcd_register() calls misc_register(). If registration fails, the caller frees the charlcd object while delayed work still contains its address. Add charlcd_deinit() to cancel the delayed work and turn the backlight off. Use it for both registration rollback and normal unregistration. Fixes: 39f8ea46724e ("auxdisplay: charlcd: Extract character LCD core from misc/panel") Cc: stable@vger.kernel.org Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Hongyan Xu <getshell@seu.edu.cn> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions