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=1795609458; b=x2IBA7pojswflwwJF6zQMpOwQylVnygGR49+WVTpBWXnrVZSF1+G6lEWoHN4j1fvPgW3 rKPunx8uWaELvCdTSDssvhYRpW5h8j98ykGm63nmf0R9WvPsqMgkENrzYR6o+OfGYqlIR mBvAiT5XfiLgi75z3IRbTimiDDu4QW8CooFSGHm1qlZca+XEvvid/uoRLOEJfIAi4qvw8 cbzj3pKXwxODGYEYfIq51g2d3xXI/poRE4Gt5HORS51ie4AuTC5nKuUbmZbSoS5Bhdjns zWFDrrKXP5vLIBot/+dgHLkERXjNnY1YbOANQh0WpyUGObs7Q1NWCvMDFH/Xt/dqf9Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795609458; h=Received:DKIM-Signature:Subject:To:Cc:From:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=CBZSPfoUhls5t7oasz8xQgg0/eufII3FcwoJ3vsruwc=; b=mSpSGAh0UzPjtpldMUoY1lCV62jYB/Y71cd141+3Bz+ZYCQ09n9KnHaaRikKJYKsrmHh UApCEUpN9vwk2t1N7TnfBJaC+Z7Fd4C1NfsbP7KPW0UZ+Tk44V7Dgf+g2cCGh+bRg0X15 qWpIAhVIpVHuveA0ibUuHPV9bhIhv0p1ycj8Ctj/eFIk0DPfTpvEpKwAIx0cuU05zKBhY tdBlUsdnTHMv1lqx1n7qlOpVAvqCyJxgWfSZwGaz1dnbHH5srd6pG5ORETesRSeSMfzhP C4CJfmq4kDB+fydNJ0DJLNzE7hyNn6knj8LjlfKglZGXPk9+3zWgjlsUgkl1FP8qlZw== 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=K++lJTr3; 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 3A58F606A31E for ; Wed, 25 Nov 2026 12:24:18 +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=K++lJTr3 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B82B1F000C4; Wed, 25 Nov 2026 12:24:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795609457; bh=CBZSPfoUhls5t7oasz8xQgg0/eufII3FcwoJ3vsruwc=; h=Subject:To:Cc:From:Date; b=K++lJTr3NW22KoQ5zBaxy5JDsydI+oqaCeDNZqeYJAI482aDiYpnI2kfHG7R2gtwK OuL/iy3A8Sx6Ta6gR1XRFhEgdpso0UBQuUPcihR38apXPSqMIojn4uQjrxbj7IFZId m6M0mM50As++bAAU2DU51HuN29Q574ygnkIb/BKo= Subject: FAILED: patch "[PATCH] iio: imu: inv_icm42600: fix parsing of all FIFO frames for" failed to apply to 6.6-stable tree To: jean-baptiste.maneyrol@tdk.com,jonathan.cameron@oss.qualcomm.com Cc: From: Date: Wed, 25 Nov 2026 13:21:57 +0100 Message-ID: <2026112557-pouch-relatable-b991@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 6.6-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-6.6.y git checkout FETCH_HEAD git cherry-pick -x 4a141623442888458d147f4e61fe47411c0e4e17 # git commit -s git send-email --to '' --in-reply-to '2026112557-pouch-relatable-b991@gregkh' --subject-prefix 'PATCH 6.6.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)