[PATCH openEuler-5.10 004/101] iio: adc: Fix incorrect exit of for-loop