[PATCH v2 1/8] iio: adc: stm32-adc: fix channel sampling time init

Andy Shevchenko andy.shevchenko at gmail.com
Wed Oct 5 07:51:03 PDT 2022


On Wed, Oct 5, 2022 at 4:36 PM Olivier Moysan
<olivier.moysan at foss.st.com> wrote:
>
> Fix channel init for ADC generic channel bindings.
> In generic channel initialization, stm32_adc_smpr_init() is called
> to initialize channel sampling time. The "st,min-sample-time-ns"
> property is an optional property. If it is not defined,
> stm32_adc_smpr_init() is currently skipped.
> However stm32_adc_smpr_init() must always be called,
> to force a minimum sampling time for the internal channels,
> as the minimum sampling time is known.
> Make stm32_adc_smpr_init() call unconditional.

The lines are quite different by their lengths. Are you sure you sent
the updated version (see also below)?

> Fixes: 796e5d0b1e9b ("iio: adc: stm32-adc: use generic binding for sample-time")
>
> Signed-off-by: Olivier Moysan <olivier.moysan at foss.st.com>

I have told you already that the tag block doesn't tolerate blank lines.

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list