Commit af27b208 authored by Jishnu Prakash's avatar Jishnu Prakash Committed by Gerrit - the friendly Code Review server
Browse files

iio: adc: Update error handling for ADC reading



Add error check to ensure that the ADC conversion API exits
immediately with error if invalid value is read from conversion
result registers.

Change-Id: I31d049b6abc6cbb9b79811fd9cbdfacfdb730ba2
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent b07c04c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment