This is a note to let you know that I've just added the patch titled iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF to the 6.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: iio-accel-fxls8962af-errata-bug-only-applicable-for-fxls8962af.patch and it can be found in the queue-6.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From b410a9307bc3a7cdee3c930c98f6fc9cf1d2c484 Mon Sep 17 00:00:00 2001 From: Sean Nyekjaer <sean@xxxxxxxxxx> Date: Mon, 5 Jun 2023 12:32:22 +0200 Subject: iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF From: Sean Nyekjaer <sean@xxxxxxxxxx> commit b410a9307bc3a7cdee3c930c98f6fc9cf1d2c484 upstream. Remove special errata handling if FXLS8964AF is used. Fixes: af959b7b96b8 ("iio: accel: fxls8962af: fix errata bug E3 - I2C burst reads") Signed-off-by: Sean Nyekjaer <sean@xxxxxxxxxx> Cc: stable@xxxxxxxxxxxxxxx Link: https://lore.kernel.org/r/20230605103223.1400980-2-sean@xxxxxxxxxx Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/iio/accel/fxls8962af-core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/drivers/iio/accel/fxls8962af-core.c +++ b/drivers/iio/accel/fxls8962af-core.c @@ -904,9 +904,10 @@ static int fxls8962af_fifo_transfer(stru int total_length = samples * sample_length; int ret; - if (i2c_verify_client(dev)) + if (i2c_verify_client(dev) && + data->chip_info->chip_id == FXLS8962AF_DEVICE_ID) /* - * Due to errata bug: + * Due to errata bug (only applicable on fxls8962af): * E3: FIFO burst read operation error using I2C interface * We have to avoid burst reads on I2C.. */ Patches currently in stable-queue which might be from sean@xxxxxxxxxx are queue-6.4/iio-accel-fxls8962af-errata-bug-only-applicable-for-fxls8962af.patch queue-6.4/iio-accel-fxls8962af-fixup-buffer-scan-element-type.patch