Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backlight: qcom-wled: Validate enabled string indices in DT
The strings passed in DT may possibly cause out-of-bounds register accesses and should be validated before use. Fixes: 775d2ff ("backlight: qcom-wled: Restructure the driver for WLED3") Signed-off-by: Marijn Suijten <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information