public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: adc: ti-ads1298: Three driver cleanups
@ 2026-05-06 18:15 Md Shofiqul Islam
  2026-05-06 18:15 ` [PATCH 1/3] iio: adc: ti-ads1298: Add parentheses around macro parameter Md Shofiqul Islam
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Md Shofiqul Islam @ 2026-05-06 18:15 UTC (permalink / raw)
  To: linux-iio, linux-kernel
  Cc: Md Shofiqul Islam, jic23, dlechner, nuno.sa, andy, mike.looijmans

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-07  5:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 18:15 [PATCH 0/3] iio: adc: ti-ads1298: Three driver cleanups Md Shofiqul Islam
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox