[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241020120004.305b2e72@jic23-huawei>
Date: Sun, 20 Oct 2024 12:00:04 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Justin Weiss <justin@...tinweiss.com>
Cc: 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 v2 4/6] iio: imu: bmi270: Add support for BMI260
> >> #define BMI270_CHIP_ID_REG 0x00
> >> +#define BMI160_CHIP_ID_VAL 0xD1
> >
> > This one looks like a cut and paste error.
>
> No, this was intentional -- I added the BMI160 chip ID here so it could
> be checked later to avoid conflicting with the existing bmi160 driver. I
> could add newlines before and after this group of _ID_VAL #defines if it
> makes it clearer.
Got it. Just add a comment that it's to exclude known bad firmwares and
that is fine to keep.
Powered by blists - more mailing lists