diff options
author | Saravanan Sekar <[email protected]> | 2022-10-29 11:29:53 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-10-29 13:27:54 +0100 |
commit | 1eb20332a082fa801fb89c347c5e62de916a4001 (patch) | |
tree | 7c8416bb9afc5d3a98d057904b5416986bfd07ac /lib/mpi/mpi-mod.c | |
parent | 741cec30cc52058d1c10d415f3b98319887e4f73 (diff) |
iio: adc: mp2629: fix wrong comparison of channel
Input voltage channel enum is compared against iio address instead
of the channel.
Fixes: 7abd9fb64682 ("iio: adc: mp2629: Add support for mp2629 ADC driver")
Signed-off-by: Saravanan Sekar <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions