aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2017-09-18 16:24:15 +0000
committerJonathan Cameron <[email protected]>2017-09-24 13:07:28 +0000
commit4fb840c95f82652cece7352be9080884cafb92a0 (patch)
tree30bf40cf9ff3014834d3e2d85c7f52a7be7dcd96 /drivers/iio/trigger/stm32-timer-trigger.c
parentiio: trigger: stm32-timer: fix a corner case to write preset (diff)
downloadkernel-4fb840c95f82652cece7352be9080884cafb92a0.tar.gz
kernel-4fb840c95f82652cece7352be9080884cafb92a0.zip
iio: adc: stm32: fix bad error check on max_channels
Fix a bad error check when counting 'st,adc-channels' array elements. This is seen when all channels are in use simultaneously. Fixes: 64ad7f643 ("iio: adc: stm32: introduce compatible data cfg") Signed-off-by: Fabrice Gasnier <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions