[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241028200822.0b981c9a@jic23-huawei>
Date: Mon, 28 Oct 2024 20:08:22 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Justin Weiss <justin@...tinweiss.com>, Alex Lanzano
<lanzano.alex@...il.com>, Lars-Peter Clausen <lars@...afoo.de>, Rob Herring
<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, "Derek J . Clark"
<derekjohn.clark@...il.com>, Philip Müller
<philm@...jaro.org>
Subject: Re: [PATCH v4 1/4] iio: imu: bmi270: Add triggered buffer for Bosch
BMI270 IMU
On Mon, 28 Oct 2024 11:25:06 +0200
Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
> On Sun, Oct 27, 2024 at 10:20:22AM -0700, Justin Weiss wrote:
> > Set up a triggered buffer for the accel and angl_vel values.
>
> ...
>
> > .channel2 = IIO_MOD_##_axis, \
> > .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \
> > + .scan_index = BMI270_SCAN_ACCEL_##_axis, \
> > + .scan_type = { \
> > + .sign = 's', \
> > + .realbits = 16, \
> > + .storagebits = 16, \
> > + .endianness = IIO_LE \
>
> Leave trailing comma here.
>
> > + }, \
>
> ...
>
> > .channel2 = IIO_MOD_##_axis, \
> > .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \
> > + .scan_index = BMI270_SCAN_GYRO_##_axis, \
> > + .scan_type = { \
> > + .sign = 's', \
> > + .realbits = 16, \
> > + .storagebits = 16, \
> > + .endianness = IIO_LE \
>
> Ditto.
>
> > + }, \
>
Agreed. Tweaked whilst applying
Jonathan
Powered by blists - more mailing lists