diff options
| author | Robert Hancock <robert.hancock@calian.com> | 2022-01-27 11:34:48 -0600 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-03-02 13:38:48 +0000 |
| commit | 1f21a41578062d439cc485bce2d8b664f9a6170e (patch) | |
| tree | b01fc7d535126112ffb21b903008b58ae3927c64 /lib/mpi/mpi-add.c | |
| parent | 5165102efa41c2aedc77441612f4506a8a8671db (diff) | |
iio: adc: xilinx-ams: Fixed missing PS channels
The code forgot to increment num_channels for the PS channel inputs,
resulting in them not being enabled as they should.
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-3-robert.hancock@calian.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
