diff options
| author | 2026-06-20 17:51:53 +0200 | |
|---|---|---|
| committer | 2026-07-02 15:52:27 +0100 | |
| commit | 10a5a70c02277a1c12999b669a1bd1922558338a (patch) | |
| tree | 904e1a5335d75ce0774a10bfa7dd5c6bb628b870 /scripts/Makefile.thinlto | |
| parent | leds: trigger: netdev: Extend speeds up to 100G (diff) | |
leds: lp5860: Fix a potential double-unlock
In lp5860_device_init(), if lp5860_init_dt() fails, an already unlocked
mutex is unlocked another time.
Slightly rework how the lock is taken/released to avoid this potential
double unlock.
Fixes: f0a66563aa2d ("leds: Add support for TI LP5860 LED driver chip")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/0f4d556e0532bfa881d7d83c1e244572117a89e3.1781970674.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
