From 36bff1842330b3eddaf5a7977eb00a724fc42c27 Mon Sep 17 00:00:00 2001 From: Shrikant Raskar Date: Wed, 28 Jan 2026 23:21:49 +0530 Subject: [PATCH] iio: proximity: rfd77402: Align polling timeout with datasheet Update the polling delay to use a 100 ms timeout, as specified in the RFD77402 datasheet. Signed-off-by: Shrikant Raskar Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron --- drivers/iio/proximity/rfd77402.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/iio/proximity/rfd77402.c b/drivers/iio/proximity/rfd77402.c index 4499939215e7..6cae805632a2 100644 --- a/drivers/iio/proximity/rfd77402.c +++ b/drivers/iio/proximity/rfd77402.c @@ -132,7 +132,11 @@ static int rfd77402_measure(struct i2c_client *client) goto err; if (ret & RFD77402_ICSR_RESULT) break; - msleep(20); + /* + * As per RFD77402 datasheet section '3.1.1 Single Measure', + * the suggested timeout value for single measure is 100ms. + */ + msleep(10); } if (tries < 0) { -- 2.47.3