From: Jonathan Cameron <jic23@kernel.org>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: linux-iio@vger.kernel.org, martin@geanix.com,
lorenzo.bianconi@redhat.com
Subject: Re: [PATCH] iio: imu: st_lsm6dsx: fix gyro gain definitions for LSM9DS1
Date: Sat, 12 Oct 2019 15:03:51 +0100 [thread overview]
Message-ID: <20191012150351.4948d795@archlinux> (raw)
In-Reply-To: <69845a7020f584e07cba80c0a1f2ecddc4268d3a.1570439396.git.lorenzo@kernel.org>
On Mon, 7 Oct 2019 11:12:13 +0200
Lorenzo Bianconi <lorenzo@kernel.org> wrote:
> Fix typos in gyro gain definitions for LSM9DS1 sensor
>
> Fixes: 52f4b1f19679 ("iio: imu: st_lsm6dsx: add support for accel/gyro unit of lsm9ds1")
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
I tried this one on the fixes-togreg branch and it's not applying so I'll take it in
togreg and it's another one for you to sort out backports off after the next merge
windows.
Jonathan
> ---
> drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
> index 876f59cedc8b..e8c3922f1b59 100644
> --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
> +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
> @@ -158,9 +158,9 @@ static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = {
> .addr = 0x10,
> .mask = GENMASK(4, 3),
> },
> - .fs_avl[0] = { IIO_DEGREE_TO_RAD(245), 0x0 },
> - .fs_avl[1] = { IIO_DEGREE_TO_RAD(500), 0x1 },
> - .fs_avl[2] = { IIO_DEGREE_TO_RAD(2000), 0x3 },
> + .fs_avl[0] = { IIO_DEGREE_TO_RAD(8750), 0x0 },
> + .fs_avl[1] = { IIO_DEGREE_TO_RAD(17500), 0x1 },
> + .fs_avl[2] = { IIO_DEGREE_TO_RAD(70000), 0x3 },
> },
> },
> .irq_config = {
prev parent reply other threads:[~2019-10-12 14:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-07 9:12 [PATCH] iio: imu: st_lsm6dsx: fix gyro gain definitions for LSM9DS1 Lorenzo Bianconi
2019-10-12 14:03 ` 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=20191012150351.4948d795@archlinux \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=lorenzo@kernel.org \
--cc=martin@geanix.com \
/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).