Re: [PATCH v5 5/6] iio: accel: fxls8962af: add hw buffered sampling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/05/2021 18.39, Jonathan Cameron wrote:
> On Thu,  6 May 2021 09:09:39 +0200
> Sean Nyekjaer <sean@xxxxxxxxxx> wrote:
> 
>> When buffered sampling is enabled, the accelerometer will dump data into
>> the internal fifo and interrupt at watermark. Then the driver flushes
>> all data to the iio buffer.
>> As the accelerometer doesn't have internal timestamps, they are
>> approximated between the current and last interrupt.
>>
>> Signed-off-by: Sean Nyekjaer <sean@xxxxxxxxxx>
> 
> Hi Sean,
> 
> Couple of things I adjusted whilst applying this.
> 1) trigger.h isn't used as no triggers are involved currently in this driver so
>    I dropped it.
> 2) kfifo allocation etc has changed in the IIO core whilst this driver was in
>    development. Now we have devm_iio_kfifo_setup() which does everything your
>    locals _setup() function does. 
> 
> I've made changes for both of the above whilst applying so please take a look
> at the result which I'll shortly push out as testing for the autobuilders to
> poke at as well.
> 
> Other than that I tweaked a bit of whilespace in the id tables in patch 1.
> 
> Series applied to the togreg branch of iio.git but initially just pushed out as
> testing to let 0-day work it's magic.
> 
> Thanks,
> 
> Jonathan
> 

Hi Jonathan,

Guess it's okay, but I can't find the patches here:
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/log/?h=togreg

:-)

Br,
/Sean




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux