From: Greg Kroah-Hartman Date: Mon, 9 Sep 2024 16:59:20 +0000 (+0200) Subject: drop queue-5.4/iio-adc-ad7124-fix-chip-id-mismatch.patch X-Git-Tag: v4.19.322~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5b4961c637a1b4ef5dbea64b059739bc1cae140;p=thirdparty%2Fkernel%2Fstable-queue.git drop queue-5.4/iio-adc-ad7124-fix-chip-id-mismatch.patch --- diff --git a/queue-5.4/iio-adc-ad7124-fix-chip-id-mismatch.patch b/queue-5.4/iio-adc-ad7124-fix-chip-id-mismatch.patch deleted file mode 100644 index 4bee9db4030..00000000000 --- a/queue-5.4/iio-adc-ad7124-fix-chip-id-mismatch.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 96f9ab0d5933c1c00142dd052f259fce0bc3ced2 Mon Sep 17 00:00:00 2001 -From: Dumitru Ceclan -Date: Wed, 31 Jul 2024 15:37:22 +0300 -Subject: iio: adc: ad7124: fix chip ID mismatch - -From: Dumitru Ceclan - -commit 96f9ab0d5933c1c00142dd052f259fce0bc3ced2 upstream. - -The ad7124_soft_reset() function has the assumption that the chip will -assert the "power-on reset" bit in the STATUS register after a software -reset without any delay. The POR bit =0 is used to check if the chip -initialization is done. - -A chip ID mismatch probe error appears intermittently when the probe -continues too soon and the ID register does not contain the expected -value. - -Fix by adding a 200us delay after the software reset command is issued. - -Fixes: b3af341bbd96 ("iio: adc: Add ad7124 support") -Signed-off-by: Dumitru Ceclan -Reviewed-by: Nuno Sa -Link: https://patch.msgid.link/20240731-ad7124-fix-v1-1-46a76aa4b9be@analog.com -Cc: -Signed-off-by: Jonathan Cameron -Signed-off-by: Greg Kroah-Hartman ---- - drivers/iio/adc/ad7124.c | 1 + - 1 file changed, 1 insertion(+) - ---- a/drivers/iio/adc/ad7124.c -+++ b/drivers/iio/adc/ad7124.c -@@ -385,6 +385,7 @@ static int ad7124_soft_reset(struct ad71 - if (ret < 0) - return ret; - -+ fsleep(200); - timeout = 100; - do { - ret = ad_sd_read_reg(&st->sd, AD7124_STATUS, 1, &readval); diff --git a/queue-5.4/series b/queue-5.4/series index eb0ceba2867..01e43e24f87 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -97,7 +97,6 @@ staging-iio-frequency-ad9834-validate-frequency-parameter-value.patch iio-buffer-dmaengine-fix-releasing-dma-channel-on-error.patch iio-fix-scale-application-in-iio_convert_raw_to_processed_unlocked.patch iio-adc-ad7606-remove-frstdata-check-for-serial-mode.patch -iio-adc-ad7124-fix-chip-id-mismatch.patch usb-dwc3-core-update-lc-timer-as-per-usb-spec-v3.2.patch binder-fix-uaf-caused-by-offsets-overwrite.patch nvmem-fix-return-type-of-devm_nvmem_device_get-in-kerneldoc.patch