[PATCH 0/3] iio: adc: ti-ads1298: Three driver cleanups
From: Md Shofiqul Islam
Date: Wed May 06 2026 - 14:15:23 EST
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