From a0fc6a0c067d0c0b66342b24d0ff5fe41eca262e Mon Sep 17 00:00:00 2001 From: Shyam Kumar Thella Date: Wed, 23 Dec 2020 12:12:28 +0530 Subject: [PATCH] iio: qcom-spmi-adc5: Fix HW settle time table naming for ADC5 lite Correct the hw_settling times array defined for ADC5 lite. Change-Id: I38eee9b3f76cb40e286f9e7e3fbf296b3f3ccfe5 Signed-off-by: Shyam Kumar Thella --- drivers/iio/adc/qcom-spmi-adc5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/qcom-spmi-adc5.c b/drivers/iio/adc/qcom-spmi-adc5.c index 571a13fe1baf..ea9d602f2185 100644 --- a/drivers/iio/adc/qcom-spmi-adc5.c +++ b/drivers/iio/adc/qcom-spmi-adc5.c @@ -853,7 +853,7 @@ static const struct adc5_data adc5_data_pmic5_lite = { .full_scale_code_cur = 5000, .adc_chans = adc5_chans_pmic, .decimation = (unsigned int []) {250, 420, 840}, - .hw_settle_2 = (unsigned int []) {15, 100, 200, 300, 400, 500, 600, 700, + .hw_settle_1 = (unsigned int []) {15, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1, 2, 4, 6, 8, 10}, };