diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2026-06-20 17:51:53 +0200 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-07-02 15:52:27 +0100 |
| commit | 10a5a70c02277a1c12999b669a1bd1922558338a (patch) | |
| tree | 904e1a5335d75ce0774a10bfa7dd5c6bb628b870 /scripts/git.orderFile | |
| parent | 7ddc04d1bd08f80ffc1e2fb97f3fc6cacab0ffc0 (diff) | |
| download | linux-10a5a70c02277a1c12999b669a1bd1922558338a.tar.gz linux-10a5a70c02277a1c12999b669a1bd1922558338a.zip | |
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/git.orderFile')
0 files changed, 0 insertions, 0 deletions
