Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1802246lqa; Mon, 29 Apr 2024 22:23:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXA630Hl1ckDJCHWNawUkWPXZuVYBcfVYo4ax1Mvy6E9OdJORfLVqCr1OuVsusrJnWydf7hhjtAauFNxtFkAgnmgT2O96wXsbhtwQeohw== X-Google-Smtp-Source: AGHT+IGy2ZBTCwL6Iy4rz76YnucvW53y6qkxBtKGJOsN3akO5VUu3fVzJfCK18FGWMwb2Ms53Y6P X-Received: by 2002:a05:6a00:7106:b0:6f3:e6d6:7ff5 with SMTP id lh6-20020a056a00710600b006f3e6d67ff5mr7845264pfb.22.1714454630470; Mon, 29 Apr 2024 22:23:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714454630; cv=pass; d=google.com; s=arc-20160816; b=SrL2rVUDz5aA1Q1meJNLay838t+JUXoAKGwkXIhEVsZrbF7UN7jDvWnGm6CwzRJUZH VLjpm2F+q7/odb+KQaX4ooKT7ak5LvhRKDOITnaiE7HFRfCOBpo1aLYN4qq9p8gN3g2r 4LdhvHYyzLNThorrw0vb57M6SOuOVtWAA/cj60li2ZXzdeCBgz6RsG8CMfFSSj+za9vr qp25gMZGkitdIIx3kIzeZ2Z+XcMdmD/ExpY1zpA4lPnExAxKJTrhv7Y7nFU8j5mYQCZI dUGxRE7Ur9TNzR2FMfuYX6PcsLZg73bzCDq9wYBcSb67+PJUnoci5mjVX8eA1L5AeyTc LFHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=SyLZnE161INd7TxlG7IGN3cfNQAjNdhBiUY91nhJtpE=; fh=3rlQimGk8QXmuemmPXRPxCW+GPibt3gDh/7xenFU5x8=; b=S6p+TGXzoV8fRZQh14oP4a6iDZDTt75VOMdWP9xLLoDLcVMckUQ0aInLibyq5CcmlX nRa83vPRcDvIdpLKJraHlMBOE/ZJn+vlwdsYizqzxYItgSpoqEjO5A6HCK9C1Myth6iM UtjukQFGjkWk29NbkJhFBFLRgyDWqtsdvPaDX6uLd/t9fjUxkpQ5Fp9N3nfJ9HbTypRo Ay/tyLgWUJZKvGBWD3k3Y4O5WSoDLEWY5jJfBzyP5tXgTOLS/KJ/dCYw1ov2Mc3sqtO3 Xz/HV7ie9F60ODYn32eOVqgYPZqqLF3tuz0J/sIESkSkG38M0qWm8H2pnQM7t88yiJpQ SBIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=YD9iG33F; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-163355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j10-20020a056a00234a00b006ed8017a5f4si21940223pfj.175.2024.04.29.22.23.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 22:23:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=YD9iG33F; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-163355-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E5EB42858A8 for ; Tue, 30 Apr 2024 05:15:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC843175A4; Tue, 30 Apr 2024 05:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="YD9iG33F" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C57DB2F43; Tue, 30 Apr 2024 05:15:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714454117; cv=none; b=nAR7imOfNMpnThG6hceShYbqmUN0I5TTMIRGRJDUvJTfzVvh+bs+cl08J7ZNKbSDps4w3nns9FLY/vJfHyFxzUSVZYthwIprz8+Iq6ua87mj7KDjeGRb302lBrdWq9/tABaKh77Y1uiafLvRd+nCWz3UT+phBh23vSypTHWTCWo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714454117; c=relaxed/simple; bh=yFM2lX+Fko6THHEVGLRv2pdxRWq16pt18ov3gqJGfus=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=mKxXI1eqKTKyOxkfCmaojjTLRQrN7JS8Z4NJNUdSeuowif0ZnD18uNNz94jyPy873m2xkn9AekcaGblmKqJn0XiQcN+T7YTDvalTUpmY/pOPzUBAWZWrVv50A4tYaeKcQW/1mv1E4z7WqdqDOZ1SDdJl1075ODvnOcRR3JD8YkQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=YD9iG33F; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1714454111; bh=SyLZnE161INd7TxlG7IGN3cfNQAjNdhBiUY91nhJtpE=; h=Date:From:To:Cc:Subject:From; b=YD9iG33FHfIL/cnyZ2IsVulaPrvNglE5PvbWa6BldCab+YiHPP+OJbenIZFMAjVkb X/akmLEvj7ZEmGNT+zDgnhQM3HcLMNKzqb+qt8YpPLiLgckyAGMlzSlQdzw3hVVG9N TlLENerqr5BD6QsYiok+7M3D04YoZ6bc0rrSW+/3s/FMPIDNZAGEko++xskSIoD/Am pc+OS+8VW9GHyF/rQHfYbe7SXujclJXP/ED1D99ZDvMo3p8FIcKW+dQlmHmniXrnDp +wE8qULHaQnEnv4OVYDe2c+TrSx41qDOrpCamVqCnbIuznOCRjIpjGCwD5PPXA/Neh XG3L239QLsurw== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VT7gM0xdLz4wby; Tue, 30 Apr 2024 15:15:10 +1000 (AEST) Date: Tue, 30 Apr 2024 15:15:10 +1000 From: Stephen Rothwell To: Jonathan Cameron Cc: Jean-Baptiste Maneyrol , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the iio tree with the iio-fixes tree Message-ID: <20240430151510.0f49b40e@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/.9qz=rzYQ0tG4Q4QASCXUNi"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/.9qz=rzYQ0tG4Q4QASCXUNi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the iio tree got a conflict in: drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c between commit: d7230b995246 ("iio: invensense: fix timestamp glitches when switching fre= quency") from the iio-fixes tree and commit: a1432b5b4f4c ("iio: imu: inv_icm42600: add support of ICM-42686-P") from the iio tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c index 9cde9a9337ad,cfb4a41ab7c1..000000000000 --- a/drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c +++ b/drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c @@@ -509,20 -512,20 +512,20 @@@ int inv_icm42600_buffer_fifo_parse(stru return 0; =20 /* handle gyroscope timestamp and FIFO data parsing */ - ts =3D &gyro_st->ts; - inv_sensors_timestamp_interrupt(ts, st->fifo.period, st->fifo.nb.total, - st->fifo.nb.gyro, st->timestamp.gyro); if (st->fifo.nb.gyro > 0) { - ts =3D iio_priv(st->indio_gyro); ++ ts =3D &gyro_st->ts; + inv_sensors_timestamp_interrupt(ts, st->fifo.nb.gyro, + st->timestamp.gyro); ret =3D inv_icm42600_gyro_parse_fifo(st->indio_gyro); if (ret) return ret; } =20 /* handle accelerometer timestamp and FIFO data parsing */ - ts =3D &accel_st->ts; - inv_sensors_timestamp_interrupt(ts, st->fifo.period, st->fifo.nb.total, - st->fifo.nb.accel, st->timestamp.accel); if (st->fifo.nb.accel > 0) { - ts =3D iio_priv(st->indio_accel); ++ ts =3D &accel_st->ts; + inv_sensors_timestamp_interrupt(ts, st->fifo.nb.accel, + st->timestamp.accel); ret =3D inv_icm42600_accel_parse_fifo(st->indio_accel); if (ret) return ret; @@@ -549,16 -554,20 +554,16 @@@ int inv_icm42600_buffer_hwfifo_flush(st return 0; =20 if (st->fifo.nb.gyro > 0) { - ts =3D iio_priv(st->indio_gyro); + ts =3D &gyro_st->ts; - inv_sensors_timestamp_interrupt(ts, st->fifo.period, - st->fifo.nb.total, st->fifo.nb.gyro, - gyro_ts); + inv_sensors_timestamp_interrupt(ts, st->fifo.nb.gyro, gyro_ts); ret =3D inv_icm42600_gyro_parse_fifo(st->indio_gyro); if (ret) return ret; } =20 if (st->fifo.nb.accel > 0) { - ts =3D iio_priv(st->indio_accel); + ts =3D &accel_st->ts; - inv_sensors_timestamp_interrupt(ts, st->fifo.period, - st->fifo.nb.total, st->fifo.nb.accel, - accel_ts); + inv_sensors_timestamp_interrupt(ts, st->fifo.nb.accel, accel_ts); ret =3D inv_icm42600_accel_parse_fifo(st->indio_accel); if (ret) return ret; --Sig_/.9qz=rzYQ0tG4Q4QASCXUNi Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmYwfl4ACgkQAVBC80lX 0GxF/Af/bS1heTqPtajMFr5YRwV0Pu5rFKzkPL8BxetX1YY/uXJX5yKXAoCc7r/1 2lS74WwxA8bAAnMTuILlsx8V+UVFkOxZJBoNpPBWVUsbZeSadgXExip/FR6ENalW LxwkdGqwtEh3tG91BHHIaaTMatWJJ0MxwAzpYJNX6zOKdEHS+KV7J1DRRGQpTw/I ZPmaJ+k5YLI8PBH/HiWe/1r2S274jv52cs+YdZvbsOIaPke0Lq4Qbn9giLdYXYnO uTg+MKj/oClCg4RMimbyhhgFovCk6borju1Ch5pHqI/5GpM3TA5IS7cwT99jDLLP JnhpHxniUAawvx1ka78j0glI5g0B8g== =V3xp -----END PGP SIGNATURE----- --Sig_/.9qz=rzYQ0tG4Q4QASCXUNi--