Jeremy Fertic 10bfe7cc17 staging: iio: adt7316: allow adt751x to use internal vref for all dacs
With adt7516/7/9, internal vref is available for dacs a and b, dacs c and
d, or all dacs. The driver doesn't currently support internal vref for all
dacs. Change the else if to an if so both bits are checked rather than
just one or the other.

Signed-off-by: Jeremy Fertic <jeremyfertic@gmail.com>
Fixes: 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-12-16 14:05:55 +00:00
..
2018-12-09 09:46:54 -08:00
2018-11-01 18:34:46 -07:00
2018-11-16 09:31:59 -06:00
2018-10-29 15:16:01 -07:00
2018-10-27 09:24:24 -07:00
2018-10-16 11:13:50 +02:00
2018-12-02 12:19:44 -08:00
2018-10-11 12:12:55 +02:00
2018-11-08 17:49:04 -06:00
2018-11-02 11:25:48 -07:00
2018-11-09 16:41:58 -06:00
2018-10-26 14:36:21 -07:00
2018-10-22 17:30:06 +01:00
2018-11-01 08:42:21 -07:00
2018-10-26 12:09:58 -07:00
2018-10-29 15:16:01 -07:00
2018-12-02 20:55:23 -08:00
2018-12-05 17:06:31 -08:00
2018-10-31 08:54:16 -07:00
2018-11-28 08:33:55 -08:00
2018-10-11 09:16:44 -07:00
2018-12-09 10:24:29 -08:00
2018-11-11 09:21:46 -08:00
2018-12-06 18:02:58 +01:00
2018-10-31 11:01:38 -07:00
2018-10-31 11:41:37 -07:00
2018-12-02 12:15:55 -08:00