From: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
To: jic23@kernel.org, lars@metafoo.de, tomas.melin@vaisala.com,
nuno.sa@analog.com, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org, Qing-wu.Li@leica-geosystems.com.cn
Cc: bsp-development.geo@leica-geosystems.com
Subject: [PATCH V1 0/1] iio: accel: sca3300: Extend the trigger buffer
Date: Fri, 1 Jul 2022 02:30:29 +0000 [thread overview]
Message-ID: <20220701023030.2527019-1-Qing-wu.Li@leica-geosystems.com.cn> (raw)
Fix the buffer reading issue for SCA3300:
- Extend the buffer size from 16 to 32 bytes.
- Change the buffer struct to a u8 array to adapt different sensors.
- Readjustment the scan index to make it consistent with the buffer data.
- Change sca3300_channels to indio_dev->channels.
LI Qingwu (1):
iio: accel: sca3300: Extend the trigger buffer from 16 to 32 bytes
drivers/iio/accel/sca3300.c | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
--
2.25.1
next reply other threads:[~2022-07-01 2:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-01 2:30 LI Qingwu [this message]
2022-07-01 2:30 ` [PATCH V1 1/1] iio: accel: sca3300: Extend the trigger buffer from 16 to 32 bytes LI Qingwu
2022-07-01 16:46 ` Jonathan Cameron
2022-07-04 1:01 ` LI Qingwu
2022-07-19 8:39 ` Jonathan Cameron
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=20220701023030.2527019-1-Qing-wu.Li@leica-geosystems.com.cn \
--to=qing-wu.li@leica-geosystems.com.cn \
--cc=bsp-development.geo@leica-geosystems.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=tomas.melin@vaisala.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).