drivers: adc: reset data ready signal for ADS114s0x

Reset the data ready signal for a new read operation
with a ADS114s0x.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2024-02-28 13:13:19 +01:00 committed by Henrik Brix Andersen
parent 444018f133
commit d03778f9e6
1 changed files with 1 additions and 0 deletions

View File

@ -1006,6 +1006,7 @@ static int ads114s0x_adc_perform_read(const struct device *dev)
struct ads114s0x_data *data = dev->data;
k_sem_take(&data->acquire_signal, K_FOREVER);
k_sem_reset(&data->data_ready_signal);
result = ads114s0x_send_start_read(dev);
if (result != 0) {