From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795609460; b=cPvJGyZL/ojLrGpcTDBhneUY1BWXoFh1kk+eFIowsutNEk0+2sYWx+sJ2etAUFurZmCc v1tgwgOhA7EYZ+5Vc52QMxuT3Wqj0wyDvkrKLJst6imFkhskT2YF7m/gQDFs5LJRugaRN kmMUIKdbuaPJ0P5Hfcq98t3UFnSQTwnvyZ1bLMocpgN6fllQS9MasyOJc+5CAEBy6fuWA oJRUt/LufEV6CSiZkcleTEIOuJ+813aaRUnIXItZGeEOPh80sY7K8+zvPfSvFuu/0HeLK /6q7AQEm5Vk3tiY+mUxh9QmI9typOCRA7EgYsfzlZyDSMi7lcy5YrFfrjU6/805bBkw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795609460; h=Received:DKIM-Signature:Subject:To:Cc:From:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=fX56pVKCMNZW9Jq04xoOhAik2vrVQfbNw/zAPQkBLe8=; b=N0JJnbMeyFATwgik05tbpP2FfNnwn0cT9AhFf3ae5k6LiiLPtne13fpJtoqHFRREVFoD 5BXINnagl1AABFBbQZX+3xwhYtNx8+nhnMDLWLb5VzooZk+7KUFR0JHd+WDwKX/8SN07t 9dfeMAxYxmF8g8C8fSZSkXrYxkxxGPxgw7TOeMI1B8uJlVoYRDgt+U/xVeyvKY1LTzs7h brmfQEWsvu/Jbjw36mMycfFewBGW7WQtrUl5N9S56AWiYMMnNahLsQ1XhBUq7eIoB+fkm 8PuaD+X6XlkyfFteFiNSeKef0d7aUk2IJJ607CcHszSdpvyONWdLC/3+DXim6Urhlwg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Gzmz9YxV; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C53F5606A31E for ; Wed, 25 Nov 2026 12:24:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Gzmz9YxV Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21C9F1F000C6; Wed, 25 Nov 2026 12:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795609460; bh=fX56pVKCMNZW9Jq04xoOhAik2vrVQfbNw/zAPQkBLe8=; h=Subject:To:Cc:From:Date; b=Gzmz9YxV6KvsyxzTyGDp8HqOYD7XYzHLK/r8FYH1hcXt1oBkcz5kSMj3RuC3tA9YV 0glKr0cU59Kw+29Y0R8X9gJA5k9FnjYdQpwevi7vDp6Dyf9CXGrvOdxUt2V2hVnCTo 37VeiZ+a8UQdc2HmTKawSYoSOMzCltC6M0xJdWJA= Subject: FAILED: patch "[PATCH] iio: imu: inv_icm42600: fix parsing of all FIFO frames for" failed to apply to 5.15-stable tree To: jean-baptiste.maneyrol@tdk.com,jonathan.cameron@oss.qualcomm.com Cc: From: Date: Wed, 25 Nov 2026 13:21:58 +0100 Message-ID: <2026112558-eggbeater-lapdog-fece@gregkh> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x 4a141623442888458d147f4e61fe47411c0e4e17 # git commit -s git send-email --to '' --in-reply-to '2026112558-eggbeater-lapdog-fece@gregkh' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 4a141623442888458d147f4e61fe47411c0e4e17 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Maneyrol Date: Mon, 19 Oct 2026 15:37:33 +0200 Subject: [PATCH] iio: imu: inv_icm42600: fix parsing of all FIFO frames for odr change For getting all odr change events, we need to parse all FIFO frames in each iio device. Fix this correctly by sending effectively all frames to all iio devices. Previously only batches of frames containing a matching sensor event were sent to the corresponding iio device. Fixes: f670d4d34773 ("iio: imu: inv_icm42600: fix odr change not caught in certain cases") Cc: stable@vger.kernel.org Signed-off-by: Jean-Baptiste Maneyrol Signed-off-by: Jonathan Cameron diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c b/drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c index 2bf9fc29d7d2..5bff2a3a44bc 100644 --- a/drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c +++ b/drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c @@ -532,22 +532,20 @@ int inv_icm42600_buffer_fifo_parse(struct inv_icm42600_state *st) ts = &gyro_st->ts; inv_sensors_timestamp_interrupt(ts, st->fifo.watermark.eff_gyro, st->timestamp.gyro); - ret = inv_icm42600_gyro_parse_fifo(st->indio_gyro); - if (ret) - return ret; } + ret = inv_icm42600_gyro_parse_fifo(st->indio_gyro); + if (ret) + return ret; + /* handle accelerometer timestamp and FIFO data parsing */ if (st->fifo.nb.accel > 0) { ts = &accel_st->ts; inv_sensors_timestamp_interrupt(ts, st->fifo.watermark.eff_accel, st->timestamp.accel); - ret = inv_icm42600_accel_parse_fifo(st->indio_accel); - if (ret) - return ret; } - return 0; + return inv_icm42600_accel_parse_fifo(st->indio_accel); } int inv_icm42600_buffer_hwfifo_flush(struct inv_icm42600_state *st, @@ -572,20 +570,18 @@ int inv_icm42600_buffer_hwfifo_flush(struct inv_icm42600_state *st, if (st->fifo.nb.gyro > 0) { ts = &gyro_st->ts; inv_sensors_timestamp_interrupt(ts, st->fifo.nb.gyro, gyro_ts); - ret = inv_icm42600_gyro_parse_fifo(st->indio_gyro); - if (ret) - return ret; } + ret = inv_icm42600_gyro_parse_fifo(st->indio_gyro); + if (ret) + return ret; + if (st->fifo.nb.accel > 0) { ts = &accel_st->ts; inv_sensors_timestamp_interrupt(ts, st->fifo.nb.accel, accel_ts); - ret = inv_icm42600_accel_parse_fifo(st->indio_accel); - if (ret) - return ret; } - return 0; + return inv_icm42600_accel_parse_fifo(st->indio_accel); } int inv_icm42600_buffer_init(struct inv_icm42600_state *st)