iio: adc: ti-ads1298 & Kconfig
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iio: adc: ti-ads1298: Add safe usage guarantee for device communicationdrivers/ | +21 | 1 reply | |
| 2/2 | iio: adc: Kconfig: add kfifo dependency to fix module builddrivers/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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