Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: adc: stm32: fix bad error check on max_channels
commit 4fb840c upstream. Fix a bad error check when counting 'st,adc-channels' array elements. This is seen when all channels are in use simultaneously. Fixes: 64ad7f6 ("iio: adc: stm32: introduce compatible data cfg") Signed-off-by: Fabrice Gasnier <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information