From: Md Shofiqul Islam <shofiqtest@gmail.com>
To: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Md Shofiqul Islam <shofiqtest@gmail.com>,
jic23@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com,
andy@kernel.org, mike.looijmans@topic.nl
Subject: [PATCH 0/3] iio: adc: ti-ads1298: Three driver cleanups
Date: Wed, 6 May 2026 21:15:03 +0300 [thread overview]
Message-ID: <20260506181508.6813-1-shofiqtest@gmail.com> (raw)
Three small cleanups to the TI ADS1298 medical ECG ADC driver:
1. Add missing parentheses around macro parameter in ADS1298_REG_CHnSET()
to follow kernel macro coding style.
2. Fix a comment that incorrectly states 40ms for a 250Hz conversion
period — the correct value is 4ms.
3. Remove the internal test signal configuration from init. The driver
was enabling INT_TEST, TEST_AMP, and TEST_FREQ_FAST during device
initialization, which is inappropriate for a medical ADC in normal
operation. Only the RESERVED bit (required by the datasheet) is kept.
Md Shofiqul Islam (3):
iio: adc: ti-ads1298: Add parentheses around macro parameter
iio: adc: ti-ads1298: Fix incorrect timeout comment
iio: adc: ti-ads1298: Don't enable internal test signal during init
drivers/iio/adc/ti-ads1298.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
--
2.54.0.windows.1
next reply other threads:[~2026-05-06 18:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-06 18:15 Md Shofiqul Islam [this message]
2026-05-06 18:15 ` [PATCH 1/3] iio: adc: ti-ads1298: Add parentheses around macro parameter Md Shofiqul Islam
2026-05-07 5:21 ` mike.looijmans
2026-05-06 18:15 ` [PATCH 2/3] iio: adc: ti-ads1298: Fix incorrect timeout comment Md Shofiqul Islam
2026-05-07 5:19 ` mike.looijmans
2026-05-06 18:15 ` [PATCH 3/3] iio: adc: ti-ads1298: Don't enable internal test signal during init Md Shofiqul Islam
2026-05-07 5:25 ` mike.looijmans
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=20260506181508.6813-1-shofiqtest@gmail.com \
--to=shofiqtest@gmail.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mike.looijmans@topic.nl \
--cc=nuno.sa@analog.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