|
@@ -338,7 +338,7 @@ static int tiadc_read_raw(struct iio_dev *indio_dev,
|
|
while (tiadc_readl(adc_dev, REG_ADCFSM) & SEQ_STATUS) {
|
|
while (tiadc_readl(adc_dev, REG_ADCFSM) & SEQ_STATUS) {
|
|
if (time_after(jiffies, timeout))
|
|
if (time_after(jiffies, timeout))
|
|
return -EAGAIN;
|
|
return -EAGAIN;
|
|
- }
|
|
|
|
|
|
+ }
|
|
map_val = chan->channel + TOTAL_CHANNELS;
|
|
map_val = chan->channel + TOTAL_CHANNELS;
|
|
|
|
|
|
/*
|
|
/*
|