iio: adc: xilinx-ams: Fixed wrong sequencer register settings
authorRobert Hancock <robert.hancock@calian.com>
Thu, 27 Jan 2022 17:34:49 +0000 (11:34 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 2 Mar 2022 13:38:57 +0000 (13:38 +0000)
commitd5d786fb531697be74c567b3844c6897ddf1ffdd
treec0bdbb21f350dbaa872333f756c1382a47c45130
parent1f21a41578062d439cc485bce2d8b664f9a6170e
iio: adc: xilinx-ams: Fixed wrong sequencer register settings

Register settings used for the sequencer configuration register
were incorrect, causing some inputs to not be read properly.

Fixes: d5c70627a794 ("iio: adc: Add Xilinx AMS driver")
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Reviewed-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20220127173450.3684318-4-robert.hancock@calian.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/xilinx-ams.c