[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250427-i2c-imx-update-v2-0-d312e394b573@gmail.com>
Date: Sun, 27 Apr 2025 14:16:08 +0800
From: Troy Mitchell <troymitchell988@...il.com>
To: Oleksij Rempel <o.rempel@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Andi Shyti <andi.shyti@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>, Fabio Estevam <festevam@...il.com>
Cc: linux-i2c@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Troy Mitchell <troymitchell988@...il.com>, Yongchao Jia <jyc0019@...il.com>,
Frank Li <Frank.Li@....com>, Ahmad Fatoum <a.fatoum@...gutronix.de>
Subject: [PATCH v2 0/2] i2c: imx: adapting the mainline
Since this patch[1], we have new callback function names.
Since this patch[2], we can use `guard` to call `spin_lock_irqsave`
and release this lock when it goes out of scope.
Link:
https://lore.kernel.org/all/20240706112116.24543-2-wsa+renesas@sang-engineering.com/ [1]
https://lore.kernel.org/all/20250227221924.265259-10-lyude@redhat.com/ [2]
Signed-off-by: Troy Mitchell <troymitchell988@...il.com>
---
Changes in v2:
- Add more details in the commit message
- Drop a useless variable
- Refactor the logic of i2c_imx_isr function
- Link to v1: https://lore.kernel.org/r/20250421-i2c-imx-update-v1-0-1137f1f353d5@gmail.com
---
Troy Mitchell (2):
i2c: imx: use guard to take spinlock
i2c: imx: drop master prefix
drivers/i2c/busses/i2c-imx.c | 43 ++++++++++++++++++++-----------------------
1 file changed, 20 insertions(+), 23 deletions(-)
---
base-commit: 9d7a0577c9db35c4cc52db90bc415ea248446472
change-id: 20250421-i2c-imx-update-d11d66dd87e8
Best regards,
--
Troy Mitchell <troymitchell988@...il.com>
Powered by blists - more mailing lists