Skip to content
Commit 82cd7ad9 authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Fabio Baltieri
Browse files

drivers: dac: sam: Add max value check



Add max size check to dac sam and sam0
There is no size check in dac_sam_write_value and dac_sam0_write_value.
Besides, the ret value should also be different.
Fixes #65021

signed-off-by: default avatarGaetan Perrot <gaetanperrotpro@gmail.com>
parent fc8b53bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment