Skip to content
Commit 3cafcfba authored by Jonathan Bell's avatar Jonathan Bell Committed by Phil Elwell
Browse files

drivers: hwmon: rp1-adc: check conversion validity before supplying value



The SAR ADC architecture may complete a conversion but instability in the
comparator can corrupt the result. Such corruption is signalled in the CS
ERR bit, asserted alongside each conversion result.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent 27bda800
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment