Commit eae3e6f1 authored by Alexander Vorwerk's avatar Alexander Vorwerk Committed by Jonathan Cameron
parent 591a6bc7
......@@ -285,8 +285,7 @@ static int ad7746_select_channel(struct iio_dev *indio_dev,
if (ret < 0)
return ret;
if (chip->capdac_set != chan->channel)
chip->capdac_set = chan->channel;
chip->capdac_set = chan->channel;
break;
case IIO_VOLTAGE:
case IIO_TEMP:
......
Markdown is supported
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