Ibrahim Tilki 99b43a1591 iio: adc: max11410: fix incomplete vref buffer mask
VREFP bit was missing from channel configuration mask and VREFN bit was
included twice instead which fails to enable positive reference buffer when
requested by a channel. Channels that don't enable vrefp buffer were not
affected.

Fixes: a44ef7c46097 ("iio: adc: add max11410 adc driver")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Ibrahim Tilki <Ibrahim.Tilki@analog.com>
Link: https://lore.kernel.org/r/20221122114718.17557-1-Ibrahim.Tilki@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-11-23 20:32:16 +00:00
..
2022-07-16 18:50:24 +01:00
2022-11-23 19:59:16 +00:00
2022-11-23 19:44:01 +00:00
2022-09-05 18:08:34 +01:00
2022-07-18 18:29:29 +01:00
2022-08-15 22:29:57 +01:00