mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
pwm: stm32: Validate breakinput data from DT
Both index and level can only be either 0 or 1 and the filter value is limited to values between (and including) 0 and 15. Validate that the device tree node contains values that are within these ranges. Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
27938fd8ba
commit
8dfa620e3d
1 changed files with 8 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue