Re: [PATCH v3 3/3] iio: adc: Fix incorrect reading when datarate changed in single mode
From: Jakub Szczudło
Date: Sat Jun 20 2026 - 14:38:35 EST
>
> On 6/13/26 2:09 PM, Jakub Szczudlo wrote:
> > When device is suspended and it is in single mode then changing
> > datarate doesn't make it actual wait for new measurement, so to
>
> s/actual/actually/
>
> > be sure that read after change is correct functions that changes
> > datarate and gain will wait for new data.
>
> s/datarate/data rate/g
>
Thanks for that I will correct it in next patch
>
> The commit message isn't very clear to me. Is the point that the
> changes don't actually take effect in the ADC until a conversion
> is done?
When changes are done when ADC is in single mode the first read
after change are still with old settings that are not desired.
My change make it wait for new conversion with new setting so reading
will be correct