Re: [PATCH 2/2] iio: imu: adis16480: Add the option to enable/disable burst mode

From: Andy Shevchenko
Date: Fri Aug 07 2020 - 05:24:11 EST


On Tue, Aug 4, 2020 at 1:04 PM Alexandru Ardelean
<alexandru.ardelean@xxxxxxxxxx> wrote:
>
> From: Stefan Popa <stefan.popa@xxxxxxxxxx>
>
> Although the burst read function does not require a stall time between
> each 16-bit segment, it however requires more processing since the
> software needs to look for the BURST_ID and take into account the offset
> to the first data channel. Some users might find it useful to be able to
> switch between the two modes.

...

> +static struct attribute *adis16495_attributes[] = {
> + &iio_dev_attr_burst_mode_enable.dev_attr.attr,

> + NULL,

A nit: drop comma.

> +};

--
With Best Regards,
Andy Shevchenko