drivers: dac: stm32: add dac value range check
Compare value and DAC resolution in `dac_write_value` and return -EINVAL
if the value is above supported resolution.
Signed-off-by:
Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Loading
Please sign in to comment