Re: [Linux-stm32] [PATCH] iio: adc: stm32-adc: enable timestamping for non-DMA usage

2021-01-22 Thread Ahmad Fatoum
Hi, On 22.01.21 11:23, Fabrice Gasnier wrote: > On 1/21/21 7:02 PM, Ahmad Fatoum wrote: >> For non-DMA usage, we have an easy way to associate a timestamp with a >> sample: iio_pollfunc_store_time stores a timestamp in the primary >> trigger IRQ handler and stm32_adc_trigger_handler runs in the IR

Re: [Linux-stm32] [PATCH] iio: adc: stm32-adc: enable timestamping for non-DMA usage

2021-01-22 Thread Fabrice Gasnier
On 1/21/21 7:02 PM, Ahmad Fatoum wrote: > For non-DMA usage, we have an easy way to associate a timestamp with a > sample: iio_pollfunc_store_time stores a timestamp in the primary > trigger IRQ handler and stm32_adc_trigger_handler runs in the IRQ thread > to push out the buffer along with the tim