From: Jonathan Cameron <jic23@kernel.org>
To: Alexandru Tachici <alexandru.tachici@analog.com>
Cc: <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] iio: accel: adxl372: Set iio_chan BE
Date: Fri, 21 Feb 2020 13:09:45 +0000 [thread overview]
Message-ID: <20200221130945.3b0111dd@archlinux> (raw)
In-Reply-To: <20200219143112.25976-1-alexandru.tachici@analog.com>
On Wed, 19 Feb 2020 16:31:12 +0200
Alexandru Tachici <alexandru.tachici@analog.com> wrote:
> Data stored in the iio-buffer is BE and this
> should be specified in the iio_chan_spec struct.
>
> Fixes: f4f55ce38e5f8 ("iio:adxl372: Add FIFO and interrupts support")
> Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Applied to the fixes-togreg branch of iio.git and marked for stable.
Thanks,
Jonathan
> ---
> drivers/iio/accel/adxl372.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/accel/adxl372.c b/drivers/iio/accel/adxl372.c
> index 9c6eebf379ca..3eb413df3c8d 100644
> --- a/drivers/iio/accel/adxl372.c
> +++ b/drivers/iio/accel/adxl372.c
> @@ -237,6 +237,7 @@ static const struct adxl372_axis_lookup adxl372_axis_lookup_table[] = {
> .realbits = 12, \
> .storagebits = 16, \
> .shift = 4, \
> + .endianness = IIO_BE, \
> }, \
> }
>
prev parent reply other threads:[~2020-02-21 13:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-19 14:31 [PATCH] iio: accel: adxl372: Set iio_chan BE Alexandru Tachici
2020-02-21 13:09 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200221130945.3b0111dd@archlinux \
--to=jic23@kernel.org \
--cc=alexandru.tachici@analog.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).