Skip to content

iio: adc: ti-ads1298 & Kconfig

Arthur-Prince linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: adc: ti-ads1298: Add safe usage guarantee for device communicationdrivers/iio/adc/ti-ads1298.c+21 -41 reply
2/2iio: adc: Kconfig: add kfifo dependency to fix module builddrivers/iio/adc/Kconfig+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] iio: adc: ti-ads1298 & Kconfig

These patches improve the ti-ads1298 driver in two ways:

1- Safe usage guarantee for device communication
Wrap calls to ads1298_reg_access() and ads1298_write_raw() with iio_device_claim_direct() / iio_device_release_direct() so that configuration operations cannot interrupt an ongoing buffered capture.

2- Add kfifo dependency for module compilation
The driver now selects CONFIG_IIO_KFIFO_BUFFER in its Kconfig, just like other IIO ADC drivers, to ensure the kfifo buffer API is available when building ti-ads1298 as a module.

Arthur-Prince (2):
iio: adc: ti-ads1298
iio: adc: Kconfig

 drivers/iio/adc/Kconfig      |  1 +
 drivers/iio/adc/ti-ads1298.c | 25 +++++++++++++++++++++----
 2 files changed, 22 insertions(+), 4 deletions(-)
Signature · 1 line
2.45.2