drivers: led: lp50xx: number of LEDs not checked during init #86101
Labels
area: LED
Label to identify LED subsystem
Backport
Backport PR and backport failure issues
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
This bug refers to a PR done by @simonguinot which fixes this issue and was merged on main: #85607 which is the original PR
It would be the case to backport it to v4.0. #85912
To Reproduce
It is not necessary to reproduce it is quite evident that the amount of LEDs is not checked and @simonguinot fixes the issue.
Expected behavior
An error should be returned when the number of LEDs exceeds the maximum allowed.
Impact
Logs and console output
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: