diff options
author | Thomas Zimmermann <[email protected]> | 2024-09-06 09:52:15 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-09-30 16:49:41 +0100 |
commit | d36870367c187daaa8a2c487d5ff1d57141eb039 (patch) | |
tree | 747412997070d7a23a1dc56199dec24fa9cd5601 /tools/perf/scripts/python/gecko.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
backlight: lcd: Rearrange code in fb_notifier_callback()
First acquire the ops_lock and do all tests while holding it. Rearranges
the code in lcd's fb_notifier_callback() to resemble the callback in
the backlight module. This will simplify later changes to these tests.
v2:
- avoid gotos by using guard(mutex) (Daniel)
- fix typos in commit description (Daniel)
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions