diff options
| author | Phillip Potter <[email protected]> | 2021-05-03 13:56:36 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 17:30:15 +0200 |
| commit | 6647f7a06eb030a2384ec71f0bb2e78854afabfe (patch) | |
| tree | 31e3714f92d05ebe1edafc8f387856b15eb07861 /tools/perf/scripts/python | |
| parent | 8d1beda5f11953ffe135a5213287f0b25b4da41b (diff) | |
leds: lp5523: check return value of lp5xx_read and jump to cleanup code
Check return value of lp5xx_read and if non-zero, jump to code at end of
the function, causing lp5523_stop_all_engines to be executed before
returning the error value up the call chain. This fixes the original
commit (248b57015f35) which was reverted due to the University of Minnesota
problems.
Cc: stable <[email protected]>
Acked-by: Jacek Anaszewski <[email protected]>
Signed-off-by: Phillip Potter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions